Learn R Programming

gasper (version 1.1.4)

eigensort: Spectral decomposition of a symetric matrix.

Description

Computes eigenvalues and eigenvectors of matrices (output sorted in increasing order).

Usage

eigensort(x)

Arguments

x

Symetric matrix (sparse or dense) whose spectral decomposition is to be computed.

Examples

Run this code
A <- matrix(1, ncol=2, nrow=2)
dec <- eigensort(A)

Run the code above in your browser using DataLab