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