Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
eigen
/
40b1855214b5107a3790557852c7f344cd2c08cc
/
.
/
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
;