Sign in
eigen
/
mirror
/
c21a80be3d0506587e73f7a5796df6e83967a934
/
.
/
doc
/
snippets
/
MatrixBase_reshaped_int_int.cpp
blob: af4ca592f907053664b534c36d585b16da5cc861 [
file
] [
log
] [
blame
]
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
;