|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.mahout.math.matrix.linalg.LUDecomposition
@Deprecated public class LUDecomposition
Constructor Summary | |
---|---|
LUDecomposition(DoubleMatrix2D a)
Deprecated. Constructs and returns a new LU Decomposition object; The decomposed matrices can be retrieved via instance methods of the returned decomposition object. |
Method Summary | |
---|---|
double |
det()
Deprecated. Returns the determinant, det(A). |
DoubleMatrix2D |
getL()
Deprecated. Returns the lower triangular factor, L. |
int[] |
getPivot()
Deprecated. Returns a copy of the pivot permutation vector. |
DoubleMatrix2D |
getU()
Deprecated. Returns the upper triangular factor, U. |
boolean |
isNonsingular()
Deprecated. Returns whether the matrix is nonsingular (has an inverse). |
DoubleMatrix2D |
solve(DoubleMatrix2D b)
Deprecated. Solves A*X = B. |
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 LUDecomposition(DoubleMatrix2D a)
a
- Rectangular matrixMethod Detail |
---|
public double det()
java.lang.IllegalArgumentException
- Matrix must be squarepublic DoubleMatrix2D getL()
public int[] getPivot()
public DoubleMatrix2D getU()
public boolean isNonsingular()
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 A is singular, that is, if !this.isNonsingular().
java.lang.IllegalArgumentException
- if A.rows() < A.columns().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 |