sla.eigen {RScaLAPACK}R Documentation

Spectral (Eigen) Decomposition of a Matrix

Description

Computes the eigenvalues and eigenvectores of a symmetric square matrix.

Usage

sla.eigen(A, NPROWS, NPCOLS, MB, RFLAG, SPAWN)

Arguments

A A symmetric, square matrix whose spectral (eigen) decomposition is to be computed
NPROWS Number of Process Rows in the Process Grid.
NPCOLS Number of Process Cols in the Process Grid.
MB Block Size.
RFLAG Flag saying whether the Process Grid should be released after computation.
SPAWN Flag saying whether a new Process Grid should be spawned.

Details

If the number of processor rows and columns are both zero, one processor is used. If the number of processor rows is nonzero and the number of processor columns is zero, then the processor rows is taken to be a number of processors, and a grid is made accordingly.

References

http://www.netlib.org/scalapack/

http://mathworld.wolfram.com/EigenDecomposition.html

See Also

eigen the normal R version of the function

Examples

library(RScaLAPACK)
rnorm(100)->x
dim(x)=c(10,10)
x[lower.tri(x)]=t(x)[lower.tri(x)]
sla.eigen(x)

[Package RScaLAPACK version 0.5.1 Index]