Sign in
nest-open-source
/
nest-cam
/
v350
/
eigen
/
9d75fdbcd2b5a2fdab03a859ddefda95ce1217ed
/
.
/
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
;