mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Extend documentation and add examples for ComplexEigenSolver.
This commit is contained in:
4
doc/snippets/ComplexEigenSolver_eigenvalues.cpp
Normal file
4
doc/snippets/ComplexEigenSolver_eigenvalues.cpp
Normal file
@@ -0,0 +1,4 @@
|
||||
MatrixXcf ones = MatrixXcf::Ones(3,3);
|
||||
ComplexEigenSolver<MatrixXcf> ces(ones);
|
||||
cout << "The eigenvalues of the 3x3 matrix of ones are:"
|
||||
<< endl << ces.eigenvalues() << endl;
|
||||
Reference in New Issue
Block a user