Language Reference |
EIGVEC Function |
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;
Copyright © SAS Institute, Inc. All Rights Reserved.