xref: /aosp_15_r20/external/eigen/doc/snippets/MatrixBase_cwiseProduct.cpp (revision bf2c37156dfe67e5dfebd6d394bad8b2ab5804d4)
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 
5