[Numpy-discussion] Vectorized version of numpy.linspace

Stephan Hoyer shoyer at gmail.com
Wed Nov 14 18:20:19 EST 2018


On Wed, Nov 14, 2018 at 3:16 PM Marten van Kerkwijk <
m.h.vankerkwijk at gmail.com> wrote:

> I see the logic in having the linear space be last, but one non-negligible
> advantage of the default being the first axis is that whatever is produced
> broadcasts properly against start and stop.
> -- Marten
>

Yes, this is exactly why I needed to insert the new axis at the start.

That said, either default axis position is fine by me as long as we have
the explicit option.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20181114/6b71a37f/attachment.html>


More information about the NumPy-Discussion mailing list