mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-23 10:09:36 +08:00
Fix typo in SelfAdjointEigenSolver_eigenvectors.cpp
(cherry picked from commit c8a2b4d20a162dc2527425f40cf7df95db5ba428)
This commit is contained in:
parent
fd5d23fdf3
commit
4780d8dfb2
@ -1,4 +1,4 @@
|
||||
MatrixXd ones = MatrixXd::Ones(3,3);
|
||||
SelfAdjointEigenSolver<MatrixXd> es(ones);
|
||||
cout << "The first eigenvector of the 3x3 matrix of ones is:"
|
||||
<< endl << es.eigenvectors().col(1) << endl;
|
||||
<< endl << es.eigenvectors().col(0) << endl;
|
||||
|
Loading…
x
Reference in New Issue
Block a user