ComplexEigenSolver_eigenvectors.cpp
Go to the documentation of this file.
1 MatrixXcf ones = MatrixXcf::Ones(3,3);
2 ComplexEigenSolver<MatrixXcf> ces(ones);
3 cout << "The first eigenvector of the 3x3 matrix of ones is:"
4  << endl << ces.eigenvectors().col(0) << endl;
ComplexEigenSolver< MatrixXcf > ces(ones)
Matrix< std::complex< float >, Dynamic, Dynamic > MatrixXcf
Dynamic×Dynamic matrix of type std::complex<float>.
Definition: Matrix.h:503