Returns an accumulator function which incrementally computes an arithmetic mean of squared absolute values.
accumulator function
var accumulator = incrmeanabs2();
var mu = accumulator();
// returns null
mu = accumulator( 2.0 );
// returns 4.0
mu = accumulator( -5.0 );
// returns 14.5
mu = accumulator();
// returns 14.5
If provided a value, returns an updated arithmetic mean; otherwise, returns the current arithmetic mean.
Notes
NaN
or a value which, when used in computations, results inNaN
, the accumulated value isNaN
for all future invocations.value
arithmetic mean of squared absolute values