Hi,

I want to find the solution of  a system of coupled differential
equations.
Therfore I need the eigenvalues and vectors of a matrix D and their
complex conjugates.
short example:
sage: D=matrix([[0,1],[-1,0]])

sage: EV=D.eigenvectors_left();EV
[(-1*I, [(1, 1*I)], 1), (1*I, [(1, -1*I)], 1)]

sage: EV[0][1][0]  # first eigenvector
(1, 1*I)

sage: (EV[0][1][0]).conjugate()
Traceback (most recent call last):
...
AttributeError: 'sage.modules.free_module_element.FreeModuleElement'
object has no attribute 'conjugate'

sage: matrix(sage_eval(repr(EV[0][1][0]))).conjugate()
[ 1 -I]

Is there an easier way to get the result of the last row? Or is there
an easy way to cast from and to vector and matrix types?


Thank you in advance,

Stefan

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to