Sign in
third-party-mirror
/
eigen
/
941ca8d83f776b9a07153d3abef2877907aa0555
/
.
/
doc
/
snippets
/
Slicing_rawarray_cxx11.cpp
blob: 0495db6bfd3cec1306bfa3dbf322c0e291a4f371 [
file
] [
log
] [
blame
]
MatrixXi
A
=
MatrixXi
::
Random
(
4
,
6
);
cout
<<
"Initial matrix A:\n"
<<
A
<<
"\n\n"
;
cout
<<
"A(all,{4,2,5,5,3}):\n"
<<
A
(
Eigen
::
placeholders
::
all
,
{
4
,
2
,
5
,
5
,
3
})
<<
"\n\n"
;