Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

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.

Note:

Example:
x=#(1,3)~#(3,1)
eigsm(x)

Result:
Contents of eigsm.values



[1,]       -2

[2,]        4

Contents of eigsm.vectors



[1,]  0.70711  0.70711

[2,] -0.70711  0.70711



(C) MD*TECH Method and Data Technologies, 05.02.2006