source:
pacpussensors/trunk/Vislab/lib3dv/eigen/doc/snippets/SelfAdjointEigenSolver_eigenvectors.cpp@
136
Last change on this file since 136 was 136, checked in by , 7 years ago | |
---|---|
File size: 193 bytes |
Line | |
---|---|
1 | MatrixXd ones = MatrixXd::Ones(3,3); |
2 | SelfAdjointEigenSolver<MatrixXd> es(ones); |
3 | cout << "The first eigenvector of the 3x3 matrix of ones is:" |
4 | << endl << es.eigenvectors().col(1) << endl; |
Note:
See TracBrowser
for help on using the repository browser.