Sign in
third-party-mirror
/
eigen
/
45874d87377474c35f39757c4299877efcc45bf7
/
.
/
doc
/
snippets
/
Tutorial_range_for_loop_2d_cxx11.cpp
blob: 7e532d3c84e371b37e8276dbca123d6bac8974e7 [
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"
;