@stdlib/array
Version:
Arrays.
32 lines (22 loc) • 589 B
Plain Text
{{alias}}( start, stop, increment )
Generates a linearly spaced numeric array according to a provided increment.
The output array is guaranteed to include the `start` value but does not
include the `stop` value.
Parameters
----------
start: number
First array value.
stop: number
Array element bound.
increment: number
Increment.
Returns
-------
out: Array
Linearly spaced numeric array.
Examples
--------
> var arr = {{alias}}( 0, 11, 2 )
[ 0, 2, 4, 6, 8, 10 ]
See Also
--------