mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-15 07:10:37 +08:00
069ecbb4ab
* somehow the NICE_RANDOM stuff wasn't being used anymore and tests were sometimes failing again. Fixed by #including Eigen/Array instead of cherry-picking just Random.h. * little fixes in the unaligned assert page
4 lines
180 B
C++
4 lines
180 B
C++
Matrix3d m = Matrix3d::Random();
|
|
cout << "Here is the matrix m:" << endl << m << endl;
|
|
cout << "Here is the square norm of each row:" << endl << m.rowwise().squaredNorm() << endl;
|