public class NRQRAlgorithm extends AbstractQRAlgorithm
| Constructor and Description |
|---|
NRQRAlgorithm(DblMatrix X)
Construct with a DblMatrix.
|
| Modifier and Type | Method and Description |
|---|---|
DblMatrix |
getA() |
DblMatrix |
getD() |
DblMatrix |
getFullQ()
Returns an m-by-m Q matrix when the matrix being decomposed was m-by-n.
|
DblMatrix |
getFullR()
Returns an m-by-n R matrix when the matrix being decomposed was m-by-n.
|
DblMatrix |
getQ()
Returns the economy sized m-by-n Q for the decomposition of an m-by-n matrix.
|
DblMatrix |
getR()
Get the upper triangular matrix R of the QR decomposition.
|
boolean |
isSingular()
Return true if a singular condition is encountered during.
|
DblMatrix |
QtransDot(DblMatrix Y)
Return the result of Q'*X for the input X.
|
DblMatrix |
rsolve(DblMatrix Y)
Solve the System R*b = Y for b given Y.
|
DblMatrix |
solveSystem(DblMatrix Y)
Solve a linear system (X*b = Y) returning the coeficients
as a DblMatrix.
|
void |
update()
Update the QR decomposition.
|
public NRQRAlgorithm(DblMatrix X)
public DblMatrix getFullR()
getFullR in interface QRAlgorithmgetFullR in class AbstractQRAlgorithmpublic DblMatrix getFullQ()
getFullQ in interface QRAlgorithmgetFullQ in class AbstractQRAlgorithmpublic DblMatrix getQ()
getQ in interface QRAlgorithmgetQ in class AbstractQRAlgorithmpublic DblMatrix getR()
getR in interface QRAlgorithmgetR in class AbstractQRAlgorithmpublic DblMatrix getA()
public DblMatrix getD()
public void update()
update in interface QRAlgorithmupdate in class AbstractQRAlgorithmpublic boolean isSingular()
isSingular in interface QRAlgorithmisSingular in class AbstractQRAlgorithmpublic DblMatrix QtransDot(DblMatrix Y)
QtransDot in interface QRAlgorithmQtransDot in class AbstractQRAlgorithmpublic DblMatrix solveSystem(DblMatrix Y)
solveSystem in interface QRAlgorithmsolveSystem in class AbstractQRAlgorithmCopyright © 2011, 2013. Daniel P. Dougherty