Sign in
third-party-mirror
/
eigen
/
941ca8d83f776b9a07153d3abef2877907aa0555
/
.
/
doc
/
snippets
/
MatrixBase_cwiseProduct.cpp
blob: 79540a9d5f83ef90bb78cd2f5bae72cf982d4e76 [
file
] [
log
] [
blame
]
Matrix3i
a
=
Matrix3i
::
Random
(),
b
=
Matrix3i
::
Random
();
Matrix3i
c
=
a
.
cwiseProduct
(
b
);
cout
<<
"a:\n"
<<
a
<<
"\nb:\n"
<<
b
<<
"\nc:\n"
<<
c
<<
endl
;