def _numpy_eye(n):
 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' ) )
numpy version of complex eye .