public class LUPResult extends Object implements ILUPResult
| Constructor and Description |
|---|
LUPResult(AMatrix l,
AMatrix u) |
LUPResult(AMatrix l,
AMatrix u,
PermutationMatrix p) |
| Modifier and Type | Method and Description |
|---|---|
double |
computeDeterminant()
Computes the determinant from the LU decomposition.
|
AMatrix |
getL()
Returns the L matrix from the decomposition.
|
PermutationMatrix |
getP()
Returns the P matrix from the decomposition.
|
AMatrix |
getU()
Returns the U matrix from the decomposition.
|
public LUPResult(AMatrix l, AMatrix u, PermutationMatrix p)
public AMatrix getL()
ILUResultReturns the L matrix from the decomposition. This matrix will have ones on the leading diagonal.
public AMatrix getU()
ILUResultReturns the U matrix from the decomposition.
public PermutationMatrix getP()
ILUPResultReturns the P matrix from the decomposition.
getP in interface ILUPResultpublic double computeDeterminant()
ILUResultcomputeDeterminant in interface ILUResultCopyright © 2016. All rights reserved.