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 eigsm

Function: eiggn
Description: eiggn computes the eigenvalues and eigenvectors of square ; matrices or arrays in unsorted order.

Usage: y = eiggn (x {,xi})
Input:
x p x p x d1 x d2 x ... x dn array containing the real part of ; the user-defined data for which the eigenvectors and eigenvalues ; should be computed. ; Note that x has to be a symmetric matrix or an array of symmetric ; matrices.
xi optional, p x p x d1 x d2 x ... x dn array containing the imaginary ; part of the user-defined data. ; Note that xi has to be square matrix or an array of square ; matrices.
Output:
y.values.re p x 1 x d1 x d2 x ... x dn array containing the real eigenvalues ; of the supplied matrices.
y.values.im p x 1 x d1 x d2 x ... x dn array containing the imaginary eigenvalues ; of the supplied matrices.
y.vectors.re p x p x d1 x d2 x ... x dn array containing the real part of eigenvectors.
y.vectors.im p x p x d1 x d2 x ... x dn array representing the imaginary part of ; eigenvectors.

Example:
x=#(1,3)~#(3,2)
eiggn(x)

Result:
Contents of eigwv.values.re

[1,]  -1.5414

[2,]   4.5414

Contents of eigwv.values.im

[1,]        0

[2,]        0

Contents of eigwv.vectors.re

[1,]        1   0.4932

[2,] -0.84713   0.5822

Contents of eigwv.vectors.im

[1,]        0        0

[2,]        0        0



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