time-to-botec/js/node_modules/@stdlib/array/incrspace/docs/repl.txt
NunoSempere b6addc7f05 feat: add the node modules
Necessary in order to clearly see the squiggle hotwiring.
2022-12-03 12:44:49 +00:00

34 lines
681 B
Plaintext

{{alias}}( start, stop[, increment] )
Generates a linearly spaced numeric array using a provided increment.
If an `increment` is not provided, the default `increment` is `1`.
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 (optional)
Increment. Default: `1`.
Returns
-------
arr: Array
Linearly spaced numeric array.
Examples
--------
> var arr = {{alias}}( 0, 11, 2 )
[ 0, 2, 4, 6, 8, 10 ]
See Also
--------