Sign in
◑
Theme
eigen
/
mirror
/
33e174613987cfc6c83576dc0fe8086c7a5d1b1f
/
.
/
doc
/
snippets
/
MatrixBase_reshaped_int_int.cpp
blob: af4ca592f907053664b534c36d585b16da5cc861 [
file
]
Matrix4i
m
=
Matrix4i
::
Random
();
cout
<<
"Here is the matrix m:"
<<
endl
<<
m
<<
endl
;
cout
<<
"Here is m.reshaped(2, 8):"
<<
endl
<<
m
.
reshaped
(
2
,
8
)
<<
endl
;