Sign in
third-party-mirror
/
eigen
/
941ca8d83f776b9a07153d3abef2877907aa0555
/
.
/
doc
/
snippets
/
Tutorial_range_for_loop_2d_cxx11.cpp
blob: 27e1f8ab07d5b80fc20e02d3876d295bd4e48770 [
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"
;