(n, cls=None)
return cls.eye(n)
Create square identity matrix n x n

    See Also
    ========

    diag
    zeros
    ones
Create square identity matrix n x n
Create square identity matrix n x n
def eye(n, cls=None):
    """Create square identity matrix n x n

    See Also
    ========

    diag
    zeros
    ones
    """
    if cls is None:
        from sympy.matrices import Matrix as cls
    return cls.eye(n)
def eye ( n , cls = None ) : if cls is None : from sympy . matrices import Matrix as cls return cls . eye ( n )