|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.mahout.math.matrix.linalg.SingularValueDecomposition
@Deprecated public class SingularValueDecomposition
Constructor Summary | |
---|---|
SingularValueDecomposition(DoubleMatrix2D Arg)
Deprecated. Constructs and returns a new singular value decomposition object; The decomposed matrices can be retrieved via instance methods of the returned decomposition object. |
Method Summary | |
---|---|
double |
cond()
Deprecated. Returns the two norm condition number, which is max(S) / min(S). |
DoubleMatrix2D |
getS()
Deprecated. Returns the diagonal matrix of singular values. |
double[] |
getSingularValues()
Deprecated. Returns the diagonal of S, which is a one-dimensional array of singular values |
DoubleMatrix2D |
getU()
Deprecated. Returns the left singular vectors U. |
DoubleMatrix2D |
getV()
Deprecated. Returns the right singular vectors V. |
double |
norm2()
Deprecated. Returns the two norm, which is max(S). |
int |
rank()
Deprecated. Returns the effective numerical matrix rank, which is the number of nonnegligible singular values. |
java.lang.String |
toString()
Deprecated. Returns a String with (propertyName, propertyValue) pairs. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SingularValueDecomposition(DoubleMatrix2D Arg)
Arg
- A rectangular matrix.
java.lang.IllegalArgumentException
- if A.rows() < A.columns().Method Detail |
---|
public double cond()
public DoubleMatrix2D getS()
public double[] getSingularValues()
public DoubleMatrix2D getU()
public DoubleMatrix2D getV()
public double norm2()
public int rank()
public java.lang.String toString()
rank : 3 trace : 0
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |