Sign in
third-party-mirror
/
eigen
/
440a71a78fb63be4f4e46dbf757a49ccf87c2aab
/
.
/
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"
;