Sign in
third-party-mirror
/
eigen
/
9dfc0afdf1dbe8217c8421c061834d195ae40fae
/
.
/
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
;