def subs(self, *args, **kwargs):  # should mirror core.basic.subs
        return self.applyfunc(lambda x: x.subs(*args, **kwargs))
Return a new matrix with subs applied to each entry.
dataset/ETHPy150Open sympy/sympy/sympy/matrices/matrices.py/MatrixBase.subs