Eigen 3.4.90
doc
snippets
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"
;
A
MatrixXi A
Definition:
Slicing_rawarray_cxx11.cpp:1
Eigen::placeholders::all
static const Eigen::internal::all_t all
Definition:
IndexedViewHelper.h:189
Eigen::MatrixXi
Matrix< int, Dynamic, Dynamic > MatrixXi
Dynamic×Dynamic matrix of type int.
Definition:
Matrix.h:500