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 QRAlgorithm
getFullR
in class AbstractQRAlgorithm
public DblMatrix getFullQ()
getFullQ
in interface QRAlgorithm
getFullQ
in class AbstractQRAlgorithm
public DblMatrix getQ()
getQ
in interface QRAlgorithm
getQ
in class AbstractQRAlgorithm
public DblMatrix getR()
getR
in interface QRAlgorithm
getR
in class AbstractQRAlgorithm
public DblMatrix getA()
public DblMatrix getD()
public void update()
update
in interface QRAlgorithm
update
in class AbstractQRAlgorithm
public boolean isSingular()
isSingular
in interface QRAlgorithm
isSingular
in class AbstractQRAlgorithm
public DblMatrix QtransDot(DblMatrix Y)
QtransDot
in interface QRAlgorithm
QtransDot
in class AbstractQRAlgorithm
public DblMatrix solveSystem(DblMatrix Y)
solveSystem
in interface QRAlgorithm
solveSystem
in class AbstractQRAlgorithm
Copyright © 2011, 2013. Daniel P. Dougherty