Maxima Function
similaritytransform (M)
simtran(M)
similaritytransform
computes a similarity transform of the matrix M
.
It returns a list which is the output of the
uniteigenvectors
command. In addition if the flag nondiagonalizable
is false
two global matrices leftmatrix
and rightmatrix
are computed.
These matrices have the property that
leftmatrix . M . rightmatrix
is a diagonal matrix with the eigenvalues
of M on the diagonal. If nondiagonalizable
is true
the left and right
matrices are not computed.
If the flag hermitianmatrix
is true
then leftmatrix
is the complex conjugate of the transpose of
rightmatrix
. Otherwise leftmatrix
is the inverse of rightmatrix
.
rightmatrix
is the matrix the columns of which are the unit
eigenvectors of M. The other flags (see and
eigenvectors
) have the same effects since
similaritytransform
calls the other functions in the package in order
to be able to form rightmatrix
.
load ("eigen")
loads this function.
simtran
is a synonym for similaritytransform
.