Iterator yielding steps + 1 interpolated values on a line in the closed [start .. end] interval.
steps
[start .. end]
This is similar to range, but potentially provides more precise values (by avoiding the accumulation of floating point errors during iteration).
Similar functionality (w/ more options) is availble here: {@link @thi.ng/dsp#line}.
[...line(50, 100, 10)] // [ // 50, 55, 60, 65, 70, // 75, 80, 85, 90, 95, // 100 // ]
-
Generated using TypeDoc
Iterator yielding
steps
+ 1 interpolated values on a line in the closed[start .. end]
interval.This is similar to range, but potentially provides more precise values (by avoiding the accumulation of floating point errors during iteration).
Similar functionality (w/ more options) is availble here: {@link @thi.ng/dsp#line}.
[...line(50, 100, 10)] // [ // 50, 55, 60, 65, 70, // 75, 80, 85, 90, 95, // 100 // ]