|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jutil.math.matrix.HouseholderHessenbergReduction
This class represents a HouseHolder Hessenberg factorization of a matrix.
Field Summary | |
static java.lang.String |
CVS_REVISION
|
Constructor Summary | |
HouseholderHessenbergReduction(Matrix H,
Column[] vs)
public behavior pre H != null; pre H.isSquare(); pre H.isHessenberg(); pre vs != null; pre vs.length == H.getNbColumns() - 2; pre (\forall int i; i>=0 && i vs[i].size() == H.getNbRows() - i - 1); post H().equals(H); post (\forall int i; i>=1 && i<= vs.length; getV(i).equals(vs[i-1])); Initialize a new HouseholderHessenbergReduction combination with the given H matrix and v vectors. |
Method Summary | |
Column |
getV(int i)
public behavior pre i>=1; pre i<=H().getNbColumns() - 2; post \result != null; |
Matrix |
H()
See superclass |
Matrix |
Q()
See superclass |
Column |
Qtimes(Column column)
See superclass |
Column |
QtransposeTimes(Column column)
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 HouseholderHessenbergReduction(Matrix H, Column[] vs)
H
- The H matrix of the Hessenberg reduction.vs
- 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 - 1Method Detail |
public Matrix H()
H
in interface HessenbergReduction
public Column getV(int i)
Return the i-th v vector as computed by the Householder algorithm that computed this Hessenberg decomposition.
i
- The index of the requested v vector. Indices start from 1.
public Matrix Q()
Q
in interface HessenbergReduction
public Column Qtimes(Column column)
Qtimes
in interface HessenbergReduction
org.jutil.math.matrix.HessenbergReduction
column
- The vector with which Q() must be multipliedpublic Column QtransposeTimes(Column column)
QtransposeTimes
in interface HessenbergReduction
org.jutil.math.matrix.HessenbergReduction
column
- The vector with which Q must be multiplied
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |