repl.txt (672B)
1 2 {{alias}}( a, b[, length] ) 3 Generates a logarithmically spaced numeric array between `10^a` and `10^b`. 4 5 If a `length` is not provided, the default output array length is `10`. 6 7 The output array includes the values `10^a` and `10^b`. 8 9 Parameters 10 ---------- 11 a: number 12 Exponent of start value. 13 14 b: number 15 Exponent of end value. 16 17 length: integer (optional) 18 Length of output array. Default: `10`. 19 20 Returns 21 ------- 22 arr: Array 23 Logarithmically spaced numeric array. 24 25 Examples 26 -------- 27 > var arr = {{alias}}( 0, 2, 6 ) 28 [ 1, ~2.5, ~6.31, ~15.85, ~39.81, 100 ] 29 30 See Also 31 -------- 32