source: pacpussensors/trunk/Vislab/lib3dv/eigen/doc/snippets/SelfAdjointEigenSolver_eigenvalues.cpp@ 136

Last change on this file since 136 was 136, checked in by ldecherf, 7 years ago

Doc

File size: 180 bytes
Line 
1MatrixXd ones = MatrixXd::Ones(3,3);
2SelfAdjointEigenSolver<MatrixXd> es(ones);
3cout << "The eigenvalues of the 3x3 matrix of ones are:"
4 << endl << es.eigenvalues() << endl;
Note: See TracBrowser for help on using the repository browser.