eigen/doc/snippets/Matrix_setRandom_int_int.cpp

4 lines
50 B
C++
Raw Normal View History

MatrixXf m;
m.setRandom(3, 3);
cout << m << endl;