Ask Your Question

Revision history [back]

What you get from Sage are vectors of euclidean norm one:

sage: [vector(CDF,i[1][0]).norm() for i in A.eigenvectors_right()]
[1.0, 1.0, 1.0]

If i try to interpret your checklist, it seems that you want to get eigenvectors of infinite norm 1. For this, you can normalize the given solution as follows:

sage: [vector(CDF,i[1][0])/vector(CDF,i[1][0]).norm(p = Infinity) for i in A.eigenvectors_right()]
[(1.0, 0.0, 0.9999999999999998),
 (1.0, 0.0, -0.9999999999999998 - 2.2570079093579266e-16*I),
 (0.0, 1.0, 0.0)]

What you get from Sage are vectors of euclidean euclidean norm one:

sage: [vector(CDF,i[1][0]).norm() for i in A.eigenvectors_right()]
[1.0, 1.0, 1.0]

If i try to interpret your checklist, it seems that you want to get eigenvectors of infinite infinite norm 1. For this, you can normalize the given solution as follows:

sage: [vector(CDF,i[1][0])/vector(CDF,i[1][0]).norm(p = Infinity) for i in A.eigenvectors_right()]
[(1.0, 0.0, 0.9999999999999998),
 (1.0, 0.0, -0.9999999999999998 - 2.2570079093579266e-16*I),
 (0.0, 1.0, 0.0)]