def _get_dtype(dtype):
 if np.issubdtype(dtype, np.complexfloating):
  return np.complex_
 else:
  return np.float_

def _get_dtype ( dtype ) : if np . issubdtype ( dtype , np . complexfloating ) : return np . complex_ else : return np . float_
return np .