'Test elementwise equality between matrices, potentially of different
types
>>> from sympy import Identity, eye
>>> Identity(3).equals(eye(3))
True'

def equals(self, other):

    return self.as_explicit().equals(other)
