'Return the Hadamard product (elementwise product) of A and B
Examples
>>> from sympy.matrices import Matrix
>>> A = Matrix([[0, 1, 2], [3, 4, 5]])
>>> B = Matrix([[1, 10, 100], [100, 10, 1]])
>>> A.multiply_elementwise(B)
Matrix([
[  0, 10, 200],
[300, 40,   5]])
See Also
cross
dot
multiply'

def multiply_elementwise(self, other):

    if (self.shape != other.shape):
        raise ShapeError('Matrix    shapes    must    agree    {}    !=    {}'.format(self.shape, other.shape))
    return self._eval_matrix_mul_elementwise(other)
