|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectno.uib.cipr.matrix.EVD
public class EVD
Computes eigenvalue decompositions of general matrices
Constructor Summary | |
---|---|
EVD(int n)
Creates an empty eigenvalue decomposition which will compute all the eigenvalues and eigenvectors (left and right) |
|
EVD(int n,
boolean left,
boolean right)
Creates an empty eigenvalue decomposition |
Method Summary | |
---|---|
EVD |
factor(DenseMatrix A)
Computes the eigenvalue decomposition of the given matrix |
static EVD |
factorize(Matrix A)
Convenience method for computing the complete eigenvalue decomposition of the given matrix |
double[] |
getImaginaryEigenvalues()
Gets the imaginary part of the eigenvalues |
DenseMatrix |
getLeftEigenvectors()
Gets the left eigenvectors, if available |
double[] |
getRealEigenvalues()
Gets the real part of the eigenvalues |
DenseMatrix |
getRightEigenvectors()
Gets the right eigenvectors, if available |
boolean |
hasLeftEigenvectors()
True if the left eigenvectors have been computed |
boolean |
hasRightEigenvectors()
True if the right eigenvectors have been computed |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EVD(int n)
n
- Size of the matrixpublic EVD(int n, boolean left, boolean right)
n
- Size of the matrixleft
- Whether to compute the left eigenvectors or notright
- Whether to compute the right eigenvectors or notMethod Detail |
---|
public static EVD factorize(Matrix A) throws NotConvergedException
A
- Matrix to factorize. Not modified
NotConvergedException
public EVD factor(DenseMatrix A) throws NotConvergedException
A
- Matrix to factorize. Overwritten on return
NotConvergedException
public DenseMatrix getLeftEigenvectors()
public DenseMatrix getRightEigenvectors()
public double[] getRealEigenvalues()
public double[] getImaginaryEigenvalues()
public boolean hasLeftEigenvectors()
public boolean hasRightEigenvectors()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |