Sign in
nest-open-source
/
nest-cam
/
v366
/
eigen
/
9d75fdbcd2b5a2fdab03a859ddefda95ce1217ed
/
.
/
doc
/
snippets
/
Tutorial_range_for_loop_2d_cxx11.cpp
blob: 4a12d26c71f69721808f6a5a8e86ceaa4f971f80 [
file
] [
log
] [
blame
]
Matrix2i
A
=
Matrix2i
::
Random
();
cout
<<
"Here are the coeffs of the 2x2 matrix A:\n"
;
for
(
auto
x
:
A
.
reshaped
())
cout
<<
x
<<
" "
;
cout
<<
"\n"
;