Sign in
third-party-mirror
/
eigen
/
941ca8d83f776b9a07153d3abef2877907aa0555
/
.
/
doc
/
snippets
/
MatrixBase_reshaped_fixed.cpp
blob: c1ae2c0fb7123ef95c88b0850bfc87c4e64ad06e [
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
;