public class Eigenvalue
extends java.lang.Object
Constructor and Description |
---|
Eigenvalue() |
Modifier and Type | Method and Description |
---|---|
static MNumber[] |
eigenvalue(MNumber[] A)
Computes all eigenvalues of a real symmetric
nxn-matrix
A by approximation. |
static MNumber[] |
eigenvector(MNumber[] A)
Computes a basis of eigenvectors of a real symmetric
nxn-matrix
A by approximation. |
public static MNumber[] eigenvalue(MNumber[] A)
A
by approximation. The algorithm uses the Jacobi
method.A
- a MNumber[]
holding rowwise the
symmetric nxn input matrix.MNumber[]
holding the eigenvalues of
A
.java.lang.IllegalArgumentException
- if A
is not a symmetric
square matrix.public static MNumber[] eigenvector(MNumber[] A)
A
by approximation. The algorithm uses the Jacobi
method.A
- a MNumber[]
holding rowwise the
symmetric nxn input matrix.MNumber[]
holding columnwise the normalized
eigenvectors of A
.java.lang.IllegalArgumentException
- if A
is not a symmetric
square matrix.Further documentation and examples can be found under www.mathletfactory.de.