COSC-4P80-Assignment-2/lib/eigen-3.4.0/doc/snippets/MatrixBase_ones_int_int.cpp

2 lines
37 B
C++

cout << MatrixXi::Ones(2,3) << endl;