Files
Efim Beshmenev 7f9dc067a1 Initial commit
2026-07-10 19:16:42 +03:00

5 lines
176 B
C++

MatrixXd ones = MatrixXd::Ones(3,3);
EigenSolver<MatrixXd> es(ones, false);
cout << "The eigenvalues of the 3x3 matrix of ones are:"
<< endl << es.eigenvalues() << endl;