Eigen 3.4.90
doc
snippets
Tutorial_range_for_loop_1d_cxx11.cpp
Go to the documentation of this file.
1
VectorXi
v
= VectorXi::Random(4);
2
cout <<
"Here is the vector v:\n"
;
3
for
(
auto
x
:
v
) cout <<
x
<<
" "
;
4
cout <<
"\n"
;
x
x
Definition:
BiCGSTAB_simple.cpp:7
v
VectorXi v
Definition:
Tutorial_range_for_loop_1d_cxx11.cpp:1
Eigen::VectorXi
Matrix< int, Dynamic, 1 > VectorXi
DynamicĂ—1 vector of type int.
Definition:
Matrix.h:500