source: pacpussensors/trunk/Vislab/lib3dv-1.2.0/lib3dv/eigen/doc/snippets/ComplexEigenSolver_eigenvalues.cpp

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

Doc

File size: 216 bytes
Line 
1MatrixXcf ones = MatrixXcf::Ones(3,3);
2ComplexEigenSolver<MatrixXcf> ces(ones, /* computeEigenvectors = */ false);
3cout << "The eigenvalues of the 3x3 matrix of ones are:"
4 << endl << ces.eigenvalues() << endl;
Note: See TracBrowser for help on using the repository browser.