Sign in
chromium
/
external
/
gitlab.com
/
libeigen
/
eigen
/
refs/tags/upstream/3.3.8
/
.
/
doc
/
snippets
/
MatrixBase_prod.cpp
blob: d2f27bdc3279c836d21d1fc2f2a4598724efe5c1 [
file
] [
log
] [
blame
]
Matrix3d
m
=
Matrix3d
::
Random
();
cout
<<
"Here is the matrix m:"
<<
endl
<<
m
<<
endl
;
cout
<<
"Here is the product of all the coefficients:"
<<
endl
<<
m
.
prod
()
<<
endl
;