|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ejml.simple.SimpleSVD<T>
public class SimpleSVD<T extends SimpleMatrix>
Wrapper around SVD for simple matrix. See SingularValueDecomposition for more details.
SVD is defined as the following decomposition:
| Constructor Summary | |
|---|---|
SimpleSVD(DenseMatrix64F mat,
boolean compact)
|
|
| Method Summary | |
|---|---|
double |
getSingleValue(int index)
Returns the specified singular value. |
SingularValueDecomposition |
getSVD()
Returns the underlying decomposition that this is a wrapper around. |
T |
getU()
Returns the orthogonal 'U' matrix. |
T |
getV()
Returns the orthogonal 'V' matrix. |
T |
getW()
Returns a diagonal matrix with the singular values. |
int |
nullity()
The nullity of the decomposed matrix. |
SimpleMatrix |
nullSpace()
Computes the null space from an SVD. |
double |
quality()
Computes the quality of the computed decomposition. |
int |
rank()
Returns the rank of the decomposed matrix. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleSVD(DenseMatrix64F mat,
boolean compact)
| Method Detail |
|---|
public T getU()
Returns the orthogonal 'U' matrix.
public T getW()
public T getV()
Returns the orthogonal 'V' matrix.
public double quality()
Computes the quality of the computed decomposition. A value close to or less than 1e-15 is considered to be within machine precision.
This function must be called before the original matrix has been modified or else it will produce meaningless results.
public SimpleMatrix nullSpace()
SingularOps.nullSpace(org.ejml.alg.dense.decomposition.SingularValueDecomposition, org.ejml.data.DenseMatrix64F) .
public double getSingleValue(int index)
index - Which singular value is to be returned.
public int rank()
public int nullity()
public SingularValueDecomposition getSVD()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||