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