Eigen 3.4.90
doc
snippets
Tutorial_range_for_loop_2d_cxx11.cpp
Go to the documentation of this file.
1
Matrix2i
A
= Matrix2i::Random();
2
cout <<
"Here are the coeffs of the 2x2 matrix A:\n"
;
3
for
(
auto
x
:
A
.reshaped())
4
cout <<
x
<<
" "
;
5
cout <<
"\n"
;
x
x
Definition:
BiCGSTAB_simple.cpp:7
A
Matrix2i A
Definition:
Tutorial_range_for_loop_2d_cxx11.cpp:1
Eigen::Matrix2i
Matrix< int, 2, 2 > Matrix2i
2×2 matrix of type int.
Definition:
Matrix.h:500