blob: ed28869a08d340edb8dd558b92c9cc466600fb96 [file] [log] [blame]
Brian Silverman72890c22015-09-19 14:37:37 -04001MatrixXd ones = MatrixXd::Ones(3,3);
2EigenSolver<MatrixXd> es(ones, false);
3cout << "The eigenvalues of the 3x3 matrix of ones are:"
4 << endl << es.eigenvalues() << endl;