ndarray icon indicating copy to clipboard operation
ndarray copied to clipboard

Exclusive range for linspace()?

Open BartMassey opened this issue 3 years ago • 1 comments
trafficstars

It would be great to have a convenient equivalent to numpy.linspace(start, end, endpoint=False). This comes up all the time for me, and I don't see a current clean way to write it.

BartMassey avatar Jun 06 '22 00:06 BartMassey

I don't know how this is implemented both in numpy or ndarray, but this shouldn't be too difficult to implement and I think it's a useful feature.

nbro avatar Dec 26 '22 22:12 nbro