EIGVEC Function

EIGVEC( A ) ;

The EIGVEC function computes the (right) eigenvectors of a square numeric matrix, A. You can obtain the left eigenvectors by first transposing A. See the description of the EIGEN subroutine for more details.

The following example calculates the eigenvectors of a symmetric matrix:

x = {1 1, 1 2, 1 3, 1 4};
xpx = t(x) * x;            /* xpx is a symmetric matrix */
eval = eigvec(xpx);   
print eval;

Figure 23.103 Eigenvectors of a Symmetric Matrix
eval
0.3220062 0.9467376
0.9467376 -0.322006