Eigen 3.4.90
doc
snippets
MatrixBase_cwiseProduct.cpp
Go to the documentation of this file.
1
Matrix3i
a
= Matrix3i::Random(),
b
= Matrix3i::Random();
2
Matrix3i
c
=
a
.cwiseProduct(
b
);
3
cout <<
"a:\n"
<<
a
<<
"\nb:\n"
<<
b
<<
"\nc:\n"
<<
c
<< endl;
4
b
Matrix3i b
Definition:
MatrixBase_cwiseProduct.cpp:1
a
Matrix3i a
Definition:
MatrixBase_cwiseProduct.cpp:1
c
Matrix3i c
Definition:
MatrixBase_cwiseProduct.cpp:2
Eigen::Matrix3i
Matrix< int, 3, 3 > Matrix3i
3×3 matrix of type int.
Definition:
Matrix.h:500