Sign in
third-party-mirror
/
eigen
/
45874d87377474c35f39757c4299877efcc45bf7
/
.
/
doc
/
snippets
/
MatrixBase_reshaped_fixed.cpp
blob: 3e9e2cfb675984d3b0142c30917aa130d588ed42 [
file
] [
log
] [
blame
]
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
;