public class QRFact extends java.lang.Object implements QRAlgorithm
| Constructor and Description |
|---|
QRFact(AbstractQRAlgorithm Alg)
Default construction useful when the user wants to use a non-default algorithm.
|
QRFact(DblMatrix X)
Construction using the default algorithm.
|
| Modifier and Type | Method and Description |
|---|---|
QRAlgorithm |
getAlgorithm()
Get the QRAlgorithm currently being used.
|
DblMatrix |
getFullQ()
Get the orthogonal matrix Q of the QR decomposition.
|
DblMatrix |
getFullR()
Get the lower triangular matrix R of the QR decomposition.
|
DblMatrix |
getQ()
Get the orthogonal matrix Q of the QR decomposition.
|
DblMatrix |
getR()
Get the lower triangular matrix R of the QR decomposition.
|
boolean |
isSingular()
Return true if a singular condition is encountered during.
|
DblMatrix |
QtransDot(DblMatrix Y)
Multiply input by transpose of Q.
|
void |
setAlgorithm(AbstractQRAlgorithm M)
Set the QRAlgorithm to be used.
|
DblMatrix |
solveSystem(DblMatrix Y)
Solve a linear system (X*b = Y) returning the coeficients
as a DblMatrix.
|
void |
update()
Update the QR decomposition.
|
public QRFact(DblMatrix X)
public QRFact(AbstractQRAlgorithm Alg)
public DblMatrix getFullQ()
QRAlgorithmgetFullQ in interface QRAlgorithmpublic DblMatrix getFullR()
QRAlgorithmgetFullR in interface QRAlgorithmpublic DblMatrix QtransDot(DblMatrix Y)
QRAlgorithmQtransDot in interface QRAlgorithmpublic DblMatrix getQ()
QRAlgorithmgetQ in interface QRAlgorithmpublic DblMatrix getR()
QRAlgorithmgetR in interface QRAlgorithmpublic DblMatrix solveSystem(DblMatrix Y)
QRAlgorithmsolveSystem in interface QRAlgorithmpublic void update()
QRAlgorithmupdate in interface QRAlgorithmpublic boolean isSingular()
QRAlgorithmisSingular in interface QRAlgorithmpublic void setAlgorithm(AbstractQRAlgorithm M)
public QRAlgorithm getAlgorithm()
Copyright © 2011, 2013. Daniel P. Dougherty