ComplexEigenSolver_eigenvalues.cpp
Go to the documentation of this file.
1 MatrixXcf ones = MatrixXcf::Ones(3,3);
2 ComplexEigenSolver<MatrixXcf> ces(ones, /* computeEigenvectors = */ false);
3 cout << "The eigenvalues of the 3x3 matrix of ones are:"
4  << endl << ces.eigenvalues() << endl;
ComplexEigenSolver< MatrixXcf > ces(ones, false)
Matrix< std::complex< float >, Dynamic, Dynamic > MatrixXcf
Dynamic×Dynamic matrix of type std::complex<float>.
Definition: Matrix.h:503