diff options
author | Gael Guennebaud <g.gael@free.fr> | 2010-06-17 14:34:10 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2010-06-17 14:34:10 +0200 |
commit | ab6a044d0d41ab0dda52ec4d3b64a97a3c33c64e (patch) | |
tree | 253fd5544c90cda8d8b9470dd853c366c15c6ece /doc/snippets/SelfAdjointEigenSolver_SelfAdjointEigenSolver_MatrixType2.cpp | |
parent | 9196b6b659a4dddc92da9a683af94726120d6ac9 (diff) |
eigenvalues: documentation fixes
Diffstat (limited to 'doc/snippets/SelfAdjointEigenSolver_SelfAdjointEigenSolver_MatrixType2.cpp')
-rw-r--r-- | doc/snippets/SelfAdjointEigenSolver_SelfAdjointEigenSolver_MatrixType2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/snippets/SelfAdjointEigenSolver_SelfAdjointEigenSolver_MatrixType2.cpp b/doc/snippets/SelfAdjointEigenSolver_SelfAdjointEigenSolver_MatrixType2.cpp index f05d67da3..bbb821e02 100644 --- a/doc/snippets/SelfAdjointEigenSolver_SelfAdjointEigenSolver_MatrixType2.cpp +++ b/doc/snippets/SelfAdjointEigenSolver_SelfAdjointEigenSolver_MatrixType2.cpp @@ -5,7 +5,7 @@ X = MatrixXd::Random(5,5); MatrixXd B = X * X.transpose(); cout << "and a random postive-definite matrix, B:" << endl << B << endl << endl; -SelfAdjointEigenSolver<MatrixXd> es(A,B); +GeneralizedSelfAdjointEigenSolver<MatrixXd> es(A,B); cout << "The eigenvalues of the pencil (A,B) are:" << endl << es.eigenvalues() << endl; cout << "The matrix of eigenvectors, V, is:" << endl << es.eigenvectors() << endl << endl; |