2
0
mirror of https://gitlab.com/libeigen/eigen.git synced 2025-01-06 14:14:46 +08:00
eigen/doc/snippets/Matrix_setConstant_int_int.cpp

4 lines
55 B
C++

MatrixXf m;
m.setConstant(3, 3, 5);
cout << m << endl;