Skip to content

compute divide

kgryte edited this page May 12, 2015 · 1 revision

Computes an element-wise division of a numeric array, where x may be an array of equal length or a numeric value.

var data = [ 2, 4, 2, 7, 3 ];

compute.divide( data, 5.5 );

Note: mutates the input array.

Clone this wiki locally