Skip to content

compute mmax

kgryte edited this page May 12, 2015 · 1 revision

Computes a moving maximum over a numeric array.

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

var arr = compute.mmax( data, 2 );
Clone this wiki locally