mirror of
https://github.com/hyblocker/OpenVR-SpaceCalibrator.git
synced 2026-10-23 21:01:00 +02:00
4 lines
185 B
C++
4 lines
185 B
C++
MatrixXd ones = MatrixXd::Ones(3, 3);
|
|
VectorXd eivals = ones.selfadjointView<Lower>().eigenvalues();
|
|
cout << "The eigenvalues of the 3x3 matrix of ones are:" << endl << eivals << endl;
|