eigen/doc/snippets/Matrix_initializer_list_23_cxx11.cpp

3 lines
53 B
C++

MatrixXd m{{1, 2, 3}, {4, 5, 6}};
cout << m << endl;