Skip to content

compute multiply

kgryte edited this page May 12, 2015 · 1 revision

Computes an element-wise multiplication 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.multiply( data, 5.5 );

Note: mutates the input array.

Clone this wiki locally