public class TriDiagonalization extends Object
HessenbergDecomposition,
except that here we apply the procedure only to symmetric matrix.
The trailing elements in rows are also zeroed out, due to symmetry.| Constructor and Description |
|---|
TriDiagonalization(Matrix A)
Runs the tri-diagonalization process for a symmetric matrix.
|
| Modifier and Type | Method and Description |
|---|---|
Matrix |
Q()
Gets Q, such that Q * A * Q = T.
|
TridiagonalMatrix |
T()
Gets T, such that T = Q * A * Q.
|
public TriDiagonalization(Matrix A)
A - a symmetric matrixIllegalArgumentException - if A is not symmetricpublic TridiagonalMatrix T()
public Matrix Q()
Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.