|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.numericalmethod.suanshu.matrix.doubles.factorization.eigen.EigenDecomposition
public class EigenDecomposition
Let A be a square, diagonalizable N × N matrix with N linearly independent eigenvectors. Then A can be factorized as Q * D * Q' = A. Q is the square N × N matrix whose i-th column is the eigenvector of A, and D is the diagonal matrix whose diagonal elements are the corresponding eigenvalues.
| Constructor Summary | |
|---|---|
EigenDecomposition(Matrix A)
Run the eigen decomposition on a square matrix. |
|
EigenDecomposition(Matrix A,
double epsilon)
Run the eigen decomposition on a square matrix. |
|
| Method Summary | |
|---|---|
DiagonalMatrix |
D()
Get the diagonal matrix D as in Q * D * Q' = A. |
Matrix |
Q()
Get Q as in Q * D * Q' = A. |
Matrix |
Qt()
Get Q' as in Q * D * Q' = A. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EigenDecomposition(Matrix A,
double epsilon)
A - a square, diagonalizable matrixepsilon - a precision parameter: when a number |x| ≤ ε, it is considered 0public EigenDecomposition(Matrix A)
A - a square, diagonalizable matrix| Method Detail |
|---|
public DiagonalMatrix D()
public Matrix Q()
public Matrix Qt()
Q.t()
|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||