|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.mahout.math.matrix.linalg.QRDecomposition
@Deprecated public class QRDecomposition
Constructor Summary | |
---|---|
QRDecomposition(DoubleMatrix2D A)
Deprecated. Constructs and returns a new QR decomposition object; computed by Householder reflections; The decomposed matrices can be retrieved via instance methods of the returned decomposition object. |
Method Summary | |
---|---|
DoubleMatrix2D |
getH()
Deprecated. Returns the Householder vectors H. |
DoubleMatrix2D |
getQ()
Deprecated. Generates and returns the (economy-sized) orthogonal factor Q. |
DoubleMatrix2D |
getR()
Deprecated. Returns the upper triangular factor, R. |
boolean |
hasFullRank()
Deprecated. Returns whether the matrix A has full rank. |
DoubleMatrix2D |
solve(DoubleMatrix2D B)
Deprecated. Least squares solution of A*X = B; returns X. |
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 QRDecomposition(DoubleMatrix2D A)
A
- A rectangular matrix.
java.lang.IllegalArgumentException
- if A.rows() < A.columns().Method Detail |
---|
public DoubleMatrix2D getH()
public DoubleMatrix2D getQ()
public DoubleMatrix2D getR()
public boolean hasFullRank()
public DoubleMatrix2D solve(DoubleMatrix2D B)
B
- A matrix with as many rows as A and any number of columns.
java.lang.IllegalArgumentException
- if B.rows() != A.rows().
java.lang.IllegalArgumentException
- if !this.hasFullRank() (A is rank deficient).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 |