Sign in
android
/
platform
/
external
/
eigen
/
7014c0b91cb1d44d8510a328d102015e9ff07aed
/
.
/
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"
;