Skip to content

compute sqrt

kgryte edited this page May 12, 2015 · 1 revision

Computes an element-wise principal square root for each element of a numeric array.

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

compute.sqrt( data );

Note: mutates the input array.

Clone this wiki locally