mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-09 07:00:27 +08:00
Fix compilation of docs after changes in Eigenvalues module.
Clean-up after revision 469382407c
.
This commit is contained in:
parent
9e00697ccc
commit
c2f6cbab8d
@ -129,7 +129,7 @@ template<typename _MatrixType> class Tridiagonalization
|
||||
m_hCoeffs(matrix.cols() > 1 ? matrix.cols()-1 : 1),
|
||||
m_isInitialized(false)
|
||||
{
|
||||
_compute(m_matrix, m_hCoeffs);
|
||||
ei_tridiagonalization_inplace(m_matrix, m_hCoeffs);
|
||||
m_isInitialized = true;
|
||||
}
|
||||
|
||||
@ -287,9 +287,6 @@ template<typename _MatrixType> class Tridiagonalization
|
||||
|
||||
protected:
|
||||
|
||||
static void _compute(MatrixType& matA, CoeffVectorType& hCoeffs);
|
||||
static void _decomposeInPlace3x3(MatrixType& mat, DiagonalType& diag, SubDiagonalType& subdiag, bool extractQ = true);
|
||||
|
||||
MatrixType m_matrix;
|
||||
CoeffVectorType m_hCoeffs;
|
||||
bool m_isInitialized;
|
||||
|
@ -4,7 +4,7 @@ cout << "Here is a random symmetric 5x5 matrix:" << endl << A << endl << endl;
|
||||
|
||||
VectorXd diag(5);
|
||||
VectorXd subdiag(4);
|
||||
Tridiagonalization<MatrixXd>::decomposeInPlace(A, diag, subdiag);
|
||||
ei_tridiagonalization_inplace(A, diag, subdiag, true);
|
||||
cout << "The orthogonal matrix Q is:" << endl << A << endl;
|
||||
cout << "The diagonal of the tridiagonal matrix T is:" << endl << diag << endl;
|
||||
cout << "The subdiagonal of the tridiagonal matrix T is:" << endl << subdiag << endl;
|
||||
|
Loading…
Reference in New Issue
Block a user