Skip to main content

arange

Function arange 

Source
pub fn arange(start: f64, stop: f64, step: f64, dtype: DType) -> Result<Array>
Expand description

Evenly spaced values start, start + step, … below stop (above it for negative steps), converted to dtype. The length is ceil((stop - start) / step), as in MLX.