1 | initial version |
If you use RDF matrices, the eigenvectors are normalized, since scipy by default normalizes eigenvectors:
sage: m=random_matrix(RDF, 3)
sage: D,P=m.eigenmatrix_right()
sage: P
[ 0.772199899036 0.772199899036 -0.343345671023]
[-0.293125911736 - 0.444881864588*I -0.293125911736 + 0.444881864588*I 0.612459302127]
[ 0.174684604473 + 0.298914588669*I 0.174684604473 - 0.298914588669*I 0.712044488377]
sage: P.column(0).norm()
1.0
sage: P.column(1).norm()
1.0
sage: P.column(2).norm()
1.0