Skip to content

compute midhinge

kgryte edited this page May 12, 2015 · 1 revision

Computes the midhinge of a numeric array.

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

var mh = compute.midhinge( data );

If the input array is already sorted in ascending order, set the sorted options flag to true.

Clone this wiki locally