def eye(n, cls=None):
    if cls is None:
        from sympy.matrices import Matrix as cls
    return cls.eye(n)
Create square identity matrix n x n
dataset/ETHPy150Open sympy/sympy/sympy/matrices/dense.py/eye