[ top | up ]

Spectral Decomposition of a Matrix

Syntax

eigen(x, symmetric, only.values=FALSE)

Arguments

x a matrix whose spectral decomposition is to be computed.
symmetric if TRUE, the matrix is assumed to be symmetric (or Hermitian if complex) and only its lower triangle is used. If symmetric is not specified, the matrix is inspected for symmetry.
only.values if TRUE, only the eigenvalues are computed and returned, otherwise both eigenvalues and eigenvectors are returned.

Description

This function provides an interface to the EISPACK routines RS, RG, CH and CG.

Values

The spectral decomposition of x is returned as components of a list.
values a vector containing the eigenvalues of x. vectors a matrix whose columns contain the eigenvectors of x.

References

Smith, B. T, J. M. Boyle, J. J. Dongarra, B. S. Garbow, Y. Ikebe, V. Klema, C. B. Moler (1976). Matrix Eigensystems Routines - EISPACK Guide. Springer-Verlag Lecture Notes in Computer Science.

See Also

svd, qr.