repl.txt (643B)
1 2 {{alias}}( start, stop[, length] ) 3 Generates a linearly spaced numeric array. 4 5 If a `length` is not provided, the default output array length is `100`. 6 7 The output array is guaranteed to include the `start` and `stop` values. 8 9 Parameters 10 ---------- 11 start: number 12 First array value. 13 14 stop: number 15 Last array value. 16 17 length: integer (optional) 18 Length of output array. Default: `100`. 19 20 Returns 21 ------- 22 arr: Array 23 Linearly spaced numeric array. 24 25 Examples 26 -------- 27 > var arr = {{alias}}( 0, 100, 6 ) 28 [ 0, 20, 40, 60, 80, 100 ] 29 30 See Also 31 -------- 32