eig_decomp {destiny} | R Documentation

## Fast eigen decomposition using ARPACK

### Description

Fast eigen decomposition using ARPACK

### Usage

    eig_decomp(M, n_eigs, sym = isSymmetric(M))

### Arguments

`M` | A matrix (e.g. from the Matrix package)
`n_eigs` | Number of eigenvectors to return
`sym` | TRUE if M is symmetric

### Value

n eigenvectors of the transition matrix

### Examples

    eig_decomp(cbind(c(1,-1), c(-1,1)), 2)

[Package destiny version 2.12.0 Index]