Go to the source code of this file.
◆ main()
Definition at line 4 of file tut_matrix_resize.cpp.
8 std::cout <<
"The matrix m is of size "
9 <<
m.rows() <<
"x" <<
m.cols() << std::endl;
10 std::cout <<
"It has " <<
m.size() <<
" coefficients" << std::endl;
13 std::cout <<
"The vector v is of size " <<
v.size() << std::endl;
14 std::cout <<
"As a matrix, v is of size "
15 <<
v.rows() <<
"x" <<
v.cols() << std::endl;
Array< int, Dynamic, 1 > v
The matrix class, also used for vectors and row-vectors.