[Numpy-discussion] proposal: new logspace without the log in the argument

Nathaniel Smith njs at pobox.com
Thu Feb 18 14:38:11 EST 2016


Some questions it'd be good to get feedback on:

- any better ideas for naming it than "geomspace"? It's really too bad
that the 'logspace' name is already taken.

- I guess the alternative interface might be something like

np.linspace(start, stop, steps, spacing="log")

what do people think?

-n

On Wed, Feb 17, 2016 at 4:35 PM, . <nr4qewd6v4 at snkmail.com> wrote:
> I've suggested a new function similar to logspace, but where you specify the start and stop points directly instead of using log(start) and base arguments:
>
> https://github.com/numpy/numpy/issues/7255
> https://github.com/numpy/numpy/pull/7268
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> https://mail.scipy.org/mailman/listinfo/numpy-discussion



-- 
Nathaniel J. Smith -- https://vorpus.org



More information about the NumPy-Discussion mailing list