eig: eig

Description Usage Arguments Details Value

Description

Eigenvalue decomposition.

Usage

1
eig(x, only.values = FALSE, descending = TRUE)

Arguments

x

The input matrix.

only.values

Should only the eigenvalues be returned, or should the eigenvectors also be returned?

descending

Should the values/vectors be returned in descending order, or ascending order? By default, LAPACK returns them in ascending order, so putting them in descending order (R's default in eigen()) has a performance cost.

Details

Runtime performance for a SymMat (symmetric packed matrix) will be MUCH slower than when using full (non-packed) storage.

Value

A matrix-like object of the same type as the input.


wrathematics/band documentation built on May 4, 2019, 9:48 a.m.