Sign in
◑
Theme
eigen
/
mirror
/
ebf04fb3e8dcab201d56fd1e3df4bf9c2bdaefc5
/
.
/
doc
/
snippets
/
MatrixBase_reshaped_fixed.cpp
blob: 3e9e2cfb675984d3b0142c30917aa130d588ed42 [
file
]
Matrix4i
m
=
Matrix4i
::
Random
();
cout
<<
"Here is the matrix m:"
<<
endl
<<
m
<<
endl
;
cout
<<
"Here is m.reshaped(fix<2>,fix<8>):"
<<
endl
<<
m
.
reshaped
(
fix
<
2
>,
fix
<
8
>)
<<
endl
;