(n)
return np.matrix(np.eye(n, dtype='complex'))
numpy version of complex eye.
numpy version of complex eye.
numpy version of complex eye .
def _numpy_eye(n):
    """numpy version of complex eye."""
    if not np:
        raise ImportError
    return np.matrix(np.eye(n, dtype='complex'))
def _numpy_eye ( n ) : if not np : raise ImportError return np . matrix ( np . eye ( n , dtype = 'complex' ) )