|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ejml.alg.dense.decomposition.hessenberg.TridiagonalDecompositionHouseholderOrig
public class TridiagonalDecompositionHouseholderOrig
A straight forward implementation from "Fundamentals of Matrix Computations," Second Edition.
This is only saved to provide a point of reference in benchmarks.
| Constructor Summary | |
|---|---|
TridiagonalDecompositionHouseholderOrig()
|
|
| Method Summary | |
|---|---|
void |
decompose(DenseMatrix64F A)
Decomposes the provided symmetric matrix. |
double |
getGamma(int index)
|
DenseMatrix64F |
getQ(DenseMatrix64F Q)
An orthogonal matrix that has the following property: T = QTAQ |
DenseMatrix64F |
getQT()
Returns the interal matrix where the decomposed results are stored. |
DenseMatrix64F |
getT(DenseMatrix64F T)
Extracts the tridiagonal matrix found in the decomposition. |
void |
householderSymmetric(int row,
double gamma)
Performs the householder operations on left and right and side of the matrix. |
void |
init(DenseMatrix64F A)
If needed declares and sets up internal data structures. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TridiagonalDecompositionHouseholderOrig()
| Method Detail |
|---|
public DenseMatrix64F getQT()
public DenseMatrix64F getT(DenseMatrix64F T)
T - If not null then the results will be stored here. Otherwise a new matrix will be created.
public DenseMatrix64F getQ(DenseMatrix64F Q)
Q - If not null then the results will be stored here. Otherwise a new matrix will be created.
public void decompose(DenseMatrix64F A)
A - Symmetric matrix that is going to be decomposed. Not modified.
public void householderSymmetric(int row,
double gamma)
row - Specifies the submatrix.gamma - The gamma for the householder operationpublic void init(DenseMatrix64F A)
A - Matrix being decomposed.public double getGamma(int index)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||