Learn R Programming

QTLRel (version 1.14)

eigen.sym: Spectral decomposition of a matrix

Description

Computes eigenvalues and eigenvectors of real symmetric matrices.

Usage

eigen.sym(x)

Value

values

a vector containing the eigenvalues of x, sorted in decreasing order.

vectors

a matrix whose columns contain the eigenvectors of x, corresponding to eigenvalues.

Arguments

x

A real symmetric matrix.

Details

This is to use the LAPACK routine 'DSYEVR' to perform spectral decomposition.

See Also

eigen for more information.