|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ejml.alg.dense.decomposition.eig.symm.SymmetricQrAlgorithm
public class SymmetricQrAlgorithm
Computes the eigenvalues and eigenvectors of a symmetric tridiagonal matrix using the symmetric QR algorithm.
This implementation is based on the algorithm is sketched out in:
David S. Watkins, "Fundamentals of Matrix Computations," Second Edition. page 377-385
| Constructor Summary | |
|---|---|
SymmetricQrAlgorithm()
Creates a new SymmetricQREigenvalue class that declares its own SymmetricQREigenHelper. |
|
SymmetricQrAlgorithm(SymmetricQREigenHelper helper)
|
|
| Method Summary | |
|---|---|
double |
getEigenvalue(int index)
Returns the eigenvalue at the specified index. |
int |
getNumberOfEigenvalues()
Returns the number of eigenvalues available. |
DenseMatrix64F |
getQ()
|
void |
performStep()
First looks for zeros and then performs the implicit single step in the QR Algorithm. |
boolean |
process(int sideLength,
double[] diag,
double[] off)
|
boolean |
process(int sideLength,
double[] diag,
double[] off,
double[] eigenvalues)
Computes the eigenvalue of the provided tridiagonal matrix. |
void |
setFastEigenvalues(boolean fastEigenvalues)
|
void |
setMaxIterations(int maxIterations)
|
void |
setQ(DenseMatrix64F q)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SymmetricQrAlgorithm(SymmetricQREigenHelper helper)
public SymmetricQrAlgorithm()
| Method Detail |
|---|
public void setMaxIterations(int maxIterations)
public DenseMatrix64F getQ()
public void setQ(DenseMatrix64F q)
public void setFastEigenvalues(boolean fastEigenvalues)
public double getEigenvalue(int index)
index - Which eigenvalue.
public int getNumberOfEigenvalues()
public boolean process(int sideLength,
double[] diag,
double[] off,
double[] eigenvalues)
sideLength - Number of rows and columns in the input matrix.diag - Diagonal elements from tridiagonal matrix. Modified.off - Off diagonal elements from tridiagonal matrix. Modified.
public boolean process(int sideLength,
double[] diag,
double[] off)
public void performStep()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||