(rontolisp) docs
← Functions

linalg:arange

(linalg:arange stop &key element-type) / (linalg:arange start stop &optional step &key element-type)

Creates the vector of numbers from start (default 0) up to but excluding stop, advancing by step (default 1; may be negative). With one argument it counts from 0, like numpy's arange. Double-float by default; pass :element-type 'single-float for a packed single-float (#f) result. For a fixed element count with both endpoints included, use linalg:linspace instead.