Eigenvalue

scalation.mathstat.Eigenvalue
class Eigenvalue(a: MatrixD)

The Eigenvalue class is used to find the eigenvalues of an n-by-n matrix a using an iterative technique that applies similarity transformations to convert a into an upper triangular matrix, so that the eigenvalues appear along the diagonal. To improve performance, the a matrix is first reduced to Hessenburg form. During the iterative steps, a shifted QR decomposition is performed. Caveats: (1) it will not handle eigenvalues that are complex numbers, (2) it uses a simple shifting strategy that may slow convergence.

Value parameters

a

the matrix whose eigenvalues are sought

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def getE(order: Boolean): VectorD

Get the eigenvalue e vector.

Get the eigenvalue e vector.

Value parameters

order

whether to order the eigenvalues in non-increasing order

Attributes

def reorder(): Unit

Reorder the eigenvalue vector e in non-increasing order. FIX - need more efficiency and in-place sorting

Reorder the eigenvalue vector e in non-increasing order. FIX - need more efficiency and in-place sorting

Attributes

Concrete fields

var converging: Boolean
var g: MatrixD
var lastE: Double