|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.jutil.math.matrix.HouseholderQRDecomposition
This class represents a HouseHolder QR factorization of a matrix.
| Field Summary | |
static java.lang.String |
CVS_REVISION
|
| Constructor Summary | |
HouseholderQRDecomposition(Matrix R,
Column[] vs)
public behavior pre R != null; pre R.isUpperTriangular(); pre vs != null; pre vs.length == R.getNbRows(); pre (\forall int i; i>=0 && i vs[i].size() == R.getNbRows() - i); post R().equals(R); post (\forall int i; i>=1 && i<= vs.length; getV(i).equals(vs[i-1])); Initialize a new HouseholderQRDecomposition combination with the given R matrix and v vectors. |
|
| Method Summary | |
Column |
getV(int i)
Return the i-th v vector as computed by the Householder algorithm that computed this QR decomposition. |
Matrix |
Q()
See superclass |
Matrix |
Qreduced()
See superclass |
Column |
QreducedTimes(Column column)
See superclass |
Column |
QreducedTransposeTimes(Column column)
See superclass |
Column |
Qtimes(Column column)
See superclass |
Column |
QtransposeTimes(Column column)
See superclass |
Matrix |
R()
See superclass |
Matrix |
Rreduced()
See superclass |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String CVS_REVISION
| Constructor Detail |
public HouseholderQRDecomposition(Matrix R,
Column[] vs)
R - The R matrix of the QR factorizationvs - An array of v vectors produce by the HouseHolder factorization
The first vector of the algorithm is at position -, the last
vector is at position vs.length - 1| Method Detail |
public Matrix R()
R in interface QRDecompositionpublic Column getV(int i)
Return the i-th v vector as computed by the Householder algorithm that computed this QR decomposition.
i - The index of the requested v vector. Indices start from 1.
public Matrix Q()
Q in interface QRDecompositionpublic Matrix Qreduced()
Qreduced in interface QRDecompositionpublic Matrix Rreduced()
Rreduced in interface QRDecompositionpublic Column Qtimes(Column column)
Qtimes in interface QRDecompositionorg.jutil.math.matrix.QRDecompositioncolumn - The vector with which Q() must be multipliedpublic Column QreducedTimes(Column column)
QreducedTimes in interface QRDecompositionorg.jutil.math.matrix.QRDecompositioncolumn - The vector with which Qreduced must be multipliedpublic Column QtransposeTimes(Column column)
QtransposeTimes in interface QRDecompositionorg.jutil.math.matrix.QRDecompositioncolumn - The vector with which Q must be multipliedpublic Column QreducedTransposeTimes(Column column)
QreducedTransposeTimes in interface QRDecompositionorg.jutil.math.matrix.QRDecompositioncolumn - The vector with which Q must be multiplied
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||