Slicing_rawarray_cxx11.cpp
Go to the documentation of this file.
1 MatrixXi A = MatrixXi::Random(4,6);
2 cout << "Initial matrix A:\n" << A << "\n\n";
3 cout << "A(all,{4,2,5,5,3}):\n" << A(Eigen::placeholders::all,{4,2,5,5,3}) << "\n\n";
MatrixXi A
static const Eigen::internal::all_t all
Matrix< int, Dynamic, Dynamic > MatrixXi
Dynamic×Dynamic matrix of type int.
Definition: Matrix.h:500