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 AbstractLUAlgorithm
public DblMatrix solveSystem(DblMatrix b)
solveSystem
in interface LUAlgorithm
solveSystem
in class AbstractLUAlgorithm
public boolean isSingular()
AbstractLUAlgorithm
isSingular
in interface LUAlgorithm
isSingular
in class AbstractLUAlgorithm
public DblMatrix getL()
LUAlgorithm
getL
in interface LUAlgorithm
getL
in class AbstractLUAlgorithm
public DblMatrix getU()
AbstractLUAlgorithm
getU
in interface LUAlgorithm
getU
in class AbstractLUAlgorithm
Copyright © 2011, 2013. Daniel P. Dougherty