'Calculate the derivative of each element in the matrix.
``args`` will be passed to the ``integrate`` function.
Examples
>>> from sympy.matrices import Matrix
>>> from sympy.abc import x, y
>>> M = Matrix([[x, y], [1, 0]])
>>> M.diff(x)
Matrix([
[1, 0],
[0, 0]])
See Also
integrate
limit'

def diff(self, *args):

    return self.applyfunc((lambda x: x.diff(*args)))
