Skip to content

compute logspace

kgryte edited this page May 12, 2015 · 1 revision

Generates a logarithmically spaced numeric array. If a length is not provided, the default output array length is 10.

var arr = compute.logspace( 0, 2, 6 );
// returns [ 1, ~2.5, ~6.31, ~15.85, ~39.81, 100 ]
Clone this wiki locally