Go to the source code of this file.
◆ main()
Definition at line 5 of file tut_arithmetic_redux_basic.cpp.
10 cout <<
"Here is mat.sum(): " <<
mat.sum() << endl;
11 cout <<
"Here is mat.prod(): " <<
mat.prod() << endl;
12 cout <<
"Here is mat.mean(): " <<
mat.mean() << endl;
13 cout <<
"Here is mat.minCoeff(): " <<
mat.minCoeff() << endl;
14 cout <<
"Here is mat.maxCoeff(): " <<
mat.maxCoeff() << endl;
15 cout <<
"Here is mat.trace(): " <<
mat.trace() << endl;
The matrix class, also used for vectors and row-vectors.