Go to the source code of this file.
◆ main()
Definition at line 6 of file Tutorial_BlockOperations_colrow.cpp.
12 cout <<
"Here is the matrix m:" << endl <<
m << endl;
13 cout <<
"2nd Row: " <<
m.row(1) << endl;
14 m.col(2) += 3 *
m.col(0);
15 cout <<
"After adding 3 times the first column into the third column, the matrix m is:\n";
The matrix class, also used for vectors and row-vectors.