From c2f6cbab8dcc894b86b7b78a462f3ded6ea6d950 Mon Sep 17 00:00:00 2001 From: Jitse Niesen Date: Mon, 14 Jun 2010 10:16:01 +0100 Subject: [PATCH] Fix compilation of docs after changes in Eigenvalues module. Clean-up after revision 469382407ca5d730f23788c593e71e91d24e9b89 . --- Eigen/src/Eigenvalues/Tridiagonalization.h | 5 +---- doc/snippets/Tridiagonalization_decomposeInPlace.cpp | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Eigen/src/Eigenvalues/Tridiagonalization.h b/Eigen/src/Eigenvalues/Tridiagonalization.h index af970e94d..caf778b25 100644 --- a/Eigen/src/Eigenvalues/Tridiagonalization.h +++ b/Eigen/src/Eigenvalues/Tridiagonalization.h @@ -129,7 +129,7 @@ template 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 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; diff --git a/doc/snippets/Tridiagonalization_decomposeInPlace.cpp b/doc/snippets/Tridiagonalization_decomposeInPlace.cpp index 2e53af7df..1d0961aee 100644 --- a/doc/snippets/Tridiagonalization_decomposeInPlace.cpp +++ b/doc/snippets/Tridiagonalization_decomposeInPlace.cpp @@ -4,7 +4,7 @@ cout << "Here is a random symmetric 5x5 matrix:" << endl << A << endl << endl; VectorXd diag(5); VectorXd subdiag(4); -Tridiagonalization::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;