Module stat

Stable statistics accumulator for n-arrays.

Functions

acc (item) add the item to the incremental mean and variance and increase the iteration count
mean () get the incremental mean value
var () get the incremental variance (sigma^2)
iter () get the iteration count
reset () reset counter and clear statistics


Functions

acc (item)
add the item to the incremental mean and variance and increase the iteration count

Parameters:

  • item n-array
mean ()
get the incremental mean value
var ()
get the incremental variance (sigma^2)
iter ()
get the iteration count
reset ()
reset counter and clear statistics
generated by LDoc 1.4.0