13 float max =
m.maxCoeff(&maxRow, &maxCol);
17 float min =
m.minCoeff(&minRow, &minCol);
19 std::cout <<
"Max: " <<
max <<
", at: " <<
20 maxRow <<
"," << maxCol << std::endl;
21 std:: cout <<
"Min: " <<
min <<
", at: " <<
22 minRow <<
"," << minCol << std::endl;
The matrix class, also used for vectors and row-vectors.
bfloat16() max(const bfloat16 &a, const bfloat16 &b)
bfloat16() min(const bfloat16 &a, const bfloat16 &b)
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.