Sign in
eigen
/
mirror
/
2f6815df8e2a9e87cb81876d3eb3484fe5f5af15
/
.
/
doc
/
snippets
/
PartialRedux_minCoeff.cpp
blob: 1256cee5eed1b4d506791b93e5041af44f7faf68 [
file
]
Matrix3d
m
=
Matrix3d
::
Random
();
cout
<<
"Here is the matrix m:"
<<
endl
<<
m
<<
endl
;
cout
<<
"Here is the minimum of each column:"
<<
endl
<<
m
.
colwise
().
minCoeff
()
<<
endl
;