|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ejml.alg.dense.decomposition.eig.WatchedDoubleStepQRDecomposition
public class WatchedDoubleStepQRDecomposition
Finds the eigenvalue decomposition of an arbitrary square matrix using the implicit double-step QR algorithm. Watched is included in its name because it is designed to print out internal debugging information. This class is still underdevelopment and has yet to be optimized.
Based off the description found in:
David S. Watkins, "Fundamentals of Matrix Computations." Second Edition.
| Constructor Summary | |
|---|---|
WatchedDoubleStepQRDecomposition(boolean computeVectors)
|
|
| Method Summary | |
|---|---|
boolean |
decompose(DenseMatrix64F A)
Computes the decomposition of the input matrix. |
Complex64F |
getEigenvalue(int index)
Returns an eigenvalue as a complex number. |
DenseMatrix64F |
getEigenVector(int index)
Used to retrieve real valued eigenvectors. |
int |
getNumberOfEigenvalues()
Returns the number of eigenvalues/eigenvectors. |
boolean |
inputModified()
Is the input matrix to DecompositionInterface.decompose(org.ejml.data.Matrix64F) is modified during
the decomposition process. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WatchedDoubleStepQRDecomposition(boolean computeVectors)
| Method Detail |
|---|
public boolean decompose(DenseMatrix64F A)
DecompositionInterfaceDecompositionInterface.inputModified() will return true and the matrix should not be
modified until the decomposition is no longer needed.
decompose in interface DecompositionInterface<DenseMatrix64F>A - The matrix which is being decomposed. Modification is implementation dependent.
public boolean inputModified()
DecompositionInterfaceDecompositionInterface.decompose(org.ejml.data.Matrix64F) is modified during
the decomposition process.
inputModified in interface DecompositionInterface<DenseMatrix64F>public int getNumberOfEigenvalues()
EigenDecomposition
getNumberOfEigenvalues in interface EigenDecomposition<DenseMatrix64F>public Complex64F getEigenvalue(int index)
EigenDecompositionReturns an eigenvalue as a complex number. For symmetric matrices the returned eigenvalue will always be a real number, which means the imaginary component will be equal to zero.
NOTE: The order of the eigenvalues is dependent upon the decomposition algorithm used. This means that they may or may not be ordered by magnitude. For example the QR algorithm will returns results that are partially ordered by magnitude, but this behavior should not be relied upon.
getEigenvalue in interface EigenDecomposition<DenseMatrix64F>index - Index of the eigenvalue eigenvector pair.
public DenseMatrix64F getEigenVector(int index)
EigenDecompositionUsed to retrieve real valued eigenvectors. If an eigenvector is associated with a complex eigenvalue then null is returned instead.
getEigenVector in interface EigenDecomposition<DenseMatrix64F>index - Index of the eigenvalue eigenvector pair.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||