Eigen 3.4.90
doc
snippets
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;
ces
ComplexEigenSolver< MatrixXcf > ces(ones, false)
ones
MatrixXcf ones
Definition:
ComplexEigenSolver_eigenvalues.cpp:1
Eigen::MatrixXcf
Matrix< std::complex< float >, Dynamic, Dynamic > MatrixXcf
Dynamic×Dynamic matrix of type std::complex<float>.
Definition:
Matrix.h:503