Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

var('t,x3')

p1= -3+2.5tanh(2.t)+(3.19sech(x3)-2.69)I

p2= -3+2.5tanh(2.t)-(3.19sech(x3)-2.69)I

p3=-4

diagAbar= diagonal_matrix(Ta.[p1,p2,p3])

dAbar=diagAbar.subs(t=0);dAbar

Playing around with dAbar I found that:

TdiagAbar=dAbar.conjugate()

works, but

TdiagAbar=dAbar.transpose()

and

TdiagAbar=dAbar.conjugate()+dAbar

do not work. Sorry, I didn't follow much of what link said. I do a lot of symbolic math with symbolic variables such as with t and x3 above. I know MATLAB well and Mathematica somewhat. I would prefer to support Sage. Thanks for your help.

nonlinear

var('t,x3')

var('t,x3')
p1= -3+2.5tanh(2.t)+(3.19sech(x3)-2.69)I

-3+2.5*tanh(2.*t)+(3.19*sech(x3)-2.69)*I p2= -3+2.5tanh(2.t)-(3.19sech(x3)-2.69)I

p3=-4

-3+2.5*tanh(2.*t)-(3.19*sech(x3)-2.69)*I p3=-4 diagAbar= diagonal_matrix(Ta.[p1,p2,p3])

dAbar=diagAbar.subs(t=0);dAbar

diagonal_matrix(Ta.[p1,p2,p3]) dAbar=diagAbar.subs(t=0);dAbar

Playing around with dAbar I found that:

TdiagAbar=dAbar.conjugate()

TdiagAbar=dAbar.conjugate()

works, but

TdiagAbar=dAbar.transpose()

TdiagAbar=dAbar.transpose()

and

TdiagAbar=dAbar.conjugate()+dAbar

TdiagAbar=dAbar.conjugate()+dAbar

do not work. Sorry, I didn't follow much of what link said. I do a lot of symbolic math with symbolic variables such as with t and x3 above. I know MATLAB well and Mathematica somewhat. I would prefer to support Sage. Thanks for your help.

nonlinear