|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectno.uib.cipr.matrix.DenseLU
public class DenseLU
Dense LU decomposition FIXME: DenseLU is broken! Fix it
Constructor Summary | |
---|---|
DenseLU(int m,
int n)
Constructor for DenseLU |
Method Summary | |
---|---|
DenseLU |
factor(DenseMatrix A)
Creates an LU decomposition of the given matrix |
static DenseLU |
factorize(Matrix A)
Creates an LU decomposition of the given matrix |
UnitLowerTriangDenseMatrix |
getL()
Returns the lower triangular factor |
DenseMatrix |
getLU()
Returns the decomposition matrix |
int[] |
getPivots()
Returns the row pivots |
UpperTriangDenseMatrix |
getU()
Returns the upper triangular factor |
boolean |
isSingular()
Checks for singularity |
double |
rcond(Matrix A,
Matrix.Norm norm)
Computes the reciprocal condition number, using either the infinity norm of the 1 norm. |
DenseMatrix |
solve(DenseMatrix B)
Computes A\B , overwriting B |
DenseMatrix |
transSolve(DenseMatrix B)
Computes AT\B , overwriting B |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DenseLU(int m, int n)
m
- Number of rowsn
- Number of columnsMethod Detail |
---|
public static DenseLU factorize(Matrix A)
A
- Matrix to decompose. Not modified
public DenseLU factor(DenseMatrix A)
A
- Matrix to decompose. Overwritten with the decomposition
public UnitLowerTriangDenseMatrix getL()
public UpperTriangDenseMatrix getU()
public DenseMatrix getLU()
public double rcond(Matrix A, Matrix.Norm norm)
A
- The matrix this is a decomposition ofnorm
- Either Norm.One
or Norm.Infinity
public int[] getPivots()
public boolean isSingular()
public DenseMatrix solve(DenseMatrix B) throws MatrixSingularException
A\B
, overwriting B
MatrixSingularException
public DenseMatrix transSolve(DenseMatrix B) throws MatrixSingularException
AT\B
, overwriting B
MatrixSingularException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |