source:
pacpussensors/trunk/Vislab/lib3dv/eigen/doc/snippets/EigenSolver_eigenvalues.cpp@
138
Last change on this file since 138 was 136, checked in by , 8 years ago | |
---|---|
File size: 176 bytes |
Line | |
---|---|
1 | MatrixXd ones = MatrixXd::Ones(3,3); |
2 | EigenSolver<MatrixXd> es(ones, false); |
3 | cout << "The eigenvalues of the 3x3 matrix of ones are:" |
4 | << endl << es.eigenvalues() << endl; |
Note:
See TracBrowser
for help on using the repository browser.