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