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 
Matrix3i b
Matrix3i a
Matrix3i c
Matrix< int, 3, 3 > Matrix3i
3×3 matrix of type int.
Definition: Matrix.h:500