eigen_sym: Spectral decomposition of a matrix

eigen.symR Documentation

Spectral decomposition of a matrix

Description

Computes eigenvalues and eigenvectors of real symmetric matrices.

Usage

eigen.sym(x)

Arguments

x

A real symmetric matrix.

Details

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

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.

Note

Warning: symmetry is not checked by the program!

See Also

eigen for more information.


QTLRel documentation built on Sept. 9, 2025, 5:26 p.m.

Related to eigen_sym in QTLRel...