|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.mahout.math.OldQRDecomposition
public class OldQRDecomposition
partially deprecated until unit tests are in place. Until this time, this class/interface is unsupported.
Constructor Summary | |
---|---|
OldQRDecomposition(Matrix a)
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 | |
---|---|
Matrix |
getQ()
Generates and returns the (economy-sized) orthogonal factor Q. |
Matrix |
getR()
Returns the upper triangular factor, R. |
boolean |
hasFullRank()
Returns whether the matrix A has full rank. |
Matrix |
solve(Matrix B)
Least squares solution of A*X = B; returns X. |
String |
toString()
Returns a rough string rendition of a QR. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OldQRDecomposition(Matrix a)
a
- A rectangular matrix.
IllegalArgumentException
- if A.rows() < A.columns().Method Detail |
---|
public Matrix getQ()
getQ
in interface QR
public Matrix getR()
getR
in interface QR
public boolean hasFullRank()
hasFullRank
in interface QR
public Matrix solve(Matrix B)
solve
in interface QR
B
- A matrix with as many rows as A and any number of columns.
IllegalArgumentException
- if B.rows() != A.rows().public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |