public class NRLUAlgorithm extends AbstractLUAlgorithm
| Constructor and Description |
|---|
NRLUAlgorithm(DblMatrix X) |
| Modifier and Type | Method and Description |
|---|---|
DblMatrix |
getL()
Get the lower triangular L of the LU decomposition.
|
int |
getSwapFactor()
Returns (-1)^S where S is the number or row interchanges.
|
DblMatrix |
getU()
Get the upper triangular matrix U of the LU decomposition.
|
boolean |
isSingular()
Return true if a singular condition is encountered during.
|
DblMatrix |
solveSystem(DblMatrix b)
Solves the set of n linear equations A*X = B.
|
public NRLUAlgorithm(DblMatrix X)
public int getSwapFactor()
getSwapFactor in class AbstractLUAlgorithmpublic DblMatrix solveSystem(DblMatrix b)
solveSystem in interface LUAlgorithmsolveSystem in class AbstractLUAlgorithmpublic boolean isSingular()
AbstractLUAlgorithmisSingular in interface LUAlgorithmisSingular in class AbstractLUAlgorithmpublic DblMatrix getL()
LUAlgorithmgetL in interface LUAlgorithmgetL in class AbstractLUAlgorithmpublic DblMatrix getU()
AbstractLUAlgorithmgetU in interface LUAlgorithmgetU in class AbstractLUAlgorithmCopyright © 2011, 2013. Daniel P. Dougherty