4 cout <<
"Here is the matrix m:\n" <<
m << endl;
5 cout <<
"Its minimum coefficient (" <<
minOfM
6 <<
") is at position (" <<
i <<
"," <<
j <<
")\n\n";
9 int maxOfV =
v.maxCoeff(&
i);
10 cout <<
"Here is the vector v: " <<
v << endl;
11 cout <<
"Its maximum coefficient (" << maxOfV
12 <<
") is at position " <<
i << endl;
Array< int, Dynamic, 1 > v
Matrix< float, 3, 3 > Matrix3f
3×3 matrix of type float.
Matrix< int, 1, 4 > RowVector4i
1×4 vector of type int.