(n)
return sparse.eye(n, n, dtype='complex')
scipy.sparse version of complex eye.
scipy.sparse version of complex eye.
scipy . sparse version of complex eye .
def _scipy_sparse_eye(n):
    """scipy.sparse version of complex eye."""
    if not sparse:
        raise ImportError
    return sparse.eye(n, n, dtype='complex')
def _scipy_sparse_eye ( n ) : if not sparse : raise ImportError return sparse . eye ( n , n , dtype = 'complex' )