Gitiles
Code Review
Sign In
gerrit.openfyde.cn
/
chromium.googlesource.com
/
external
/
gitlab.com
/
libeigen
/
eigen
/
80be1ea51582c92bf4dba2b4f104bb53b9628980
/
.
/
doc
/
snippets
/
PartialRedux_maxCoeff.cpp
blob: ff1a7ebdb4b91e96865ad4d7a1eaaeaa775eb7f7 [
file
] [
log
] [
blame
]
Benoit Jacob
9466e5f
2008-08-19 04:30:28 +0000
[
diff
] [
blame
]
1
Matrix3d
m
=
Matrix3d
::
Random
();
2
cout
<<
"Here is the matrix m:"
<<
endl
<<
m
<<
endl
;
3
cout
<<
"Here is the maximum of each column:"
<<
endl
<<
m
.
colwise
().
maxCoeff
()
<<
endl
;