ndarray icon indicating copy to clipboard operation
ndarray copied to clipboard

Brief way to use `np.arange` (Array::range) for integers?

Open fzyzcjy opened this issue 4 years ago • 2 comments

Hi thanks for the lib! Currently Array::range only supports floats, so seems that I have to convert to float and then convert back. Is there any way to use it for ints?

fzyzcjy avatar Nov 20 '21 01:11 fzyzcjy

For now, Array::from_iter is the recommended way to go with integers.

bluss avatar Nov 23 '21 20:11 bluss

Ok thanks...

fzyzcjy avatar Nov 24 '21 00:11 fzyzcjy