mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-03-07 18:27:40 +08:00
Fix typo in SelfAdjointEigenSolver_eigenvectors.cpp
This commit is contained in:
parent
e9ab4278b7
commit
c8a2b4d20a
@ -1,4 +1,4 @@
|
|||||||
MatrixXd ones = MatrixXd::Ones(3,3);
|
MatrixXd ones = MatrixXd::Ones(3,3);
|
||||||
SelfAdjointEigenSolver<MatrixXd> es(ones);
|
SelfAdjointEigenSolver<MatrixXd> es(ones);
|
||||||
cout << "The first eigenvector of the 3x3 matrix of ones is:"
|
cout << "The first eigenvector of the 3x3 matrix of ones is:"
|
||||||
<< endl << es.eigenvectors().col(1) << endl;
|
<< endl << es.eigenvectors().col(0) << endl;
|
||||||
|
Loading…
Reference in New Issue
Block a user