Skip to content

compute incrspace

kgryte edited this page May 12, 2015 · 1 revision

Generates a linearly spaced numeric array. If an increment is not provided, the default increment is 1.

var arr = compute.incrspace( 0, 11, 2 );
// returns [ 0, 2, 4, 6, 8, 10 ]
Clone this wiki locally