iarray.arange#

iarray.arange(start: Union[int, float], /, stop: Optional[Union[int, float]] = None, step: Union[int, float] = 1, *, shape: Optional[Sequence] = None, device: Optional[Literal['cpu']] = None, cfg: Optional[Config] = None, **kwargs) IArray#

Return evenly spaced values within a given interval.

shape, device, cfg and kwargs are the same than for empty().

start, stop, step are the same as in np.arange.

Returns

The new array.

Return type

IArray container

See also

empty

Create an empty array.