DADiSP Worksheet Functions > Function Categories > Matrix Math and Special Matrices > EIGVEC

 

EIGVEC

Purpose:

Computes the Eigenvectors of a square matrix.

Syntax:

EIGVEC(a)

a

-

A square matrix.

Returns:

A square matrix with the same dimensions as a. Each column of the output is an Eigenvector. The Eigenvector in column n of EIGVEC corresponds to the Eigenvalue in row n of EIGVAL.

Example:

x = {{1, 3, 4},

     {5, 6, 7}, 

     {8, 9, 12}} 

 

eigvec(x) == {{-0.25387, -0.89628,  0.04651},

              {-0.50456,  0.27028, -0.80186}, 

              {-0.82521,  0.35162,  0.59570}} 

Remarks:

x *^ eigvec(x) == eigvec(x) *^ diag(eigval(x))

 

See EIG for a further discussion of eigenvalues and eigenvectors.

See Also:

BALANCE

EIG

EIGVAL

MMULT

NBEIGVAL

NBEIGVEC