def logspace(xmin, xmax, N):
 return np.exp(np.linspace(np.log(xmin), np.log(xmax), N))

def logspace ( xmin , xmax , N ) : return np . exp ( np . linspace ( np . log ( xmin ) , np . log ( xmax ) , N ) )
return n values logarithmically spaced between xmin and xmax .