Group: | Linear Algebra |
See also: | svd eiggn eigensm |
Function: | eigsm | |
Description: | eigsm computes the eigenvalues and eigenvectors of symmetric ; matrices and arrays in unsorted order. |
Usage: | y = eigsm (x) | |
Input: | ||
x | p x p x d1 x d2 x ... x dn array of user-defined data ; for which the eigenvalues and eigenvectors should be ; computed. Note that x must be a symmetric matrix or an ; array of symmetric matrices. | |
Output: | ||
y.values | p x 1 x d1 x d2 x ... x dn array containing the eigenvalues ; of the supplied matrices in unsorted order. | |
y.vectors | p x p x d1 x d2 x ... x dn array containing the normalized ; eigenvectors of the supplied matrices. |
x=#(1,3)~#(3,1) eigsm(x)
Contents of eigsm.values [1,] -2 [2,] 4 Contents of eigsm.vectors [1,] 0.70711 0.70711 [2,] -0.70711 0.70711