Go to the source code of this file.
◆ main()
Definition at line 4 of file Tutorial_simple_example_dynamic_size.cpp.
9 for (
int j=0;
j<
m.cols(); ++
j)
10 for (
int i=0;
i<
m.rows(); ++
i)
13 std::cout <<
m <<
"\n\n";
18 v[0] = 1;
v[1] = 2;
v(2) = 3;
v(3) = 4;
19 std::cout <<
"\nv:\n" <<
v << std::endl;
Array< int, Dynamic, 1 > v
The matrix class, also used for vectors and row-vectors.