calculate mean standard deviation in one pass
calculate mean and standard deviation in one pass.
var Stats =
var s =
> mean: 2 stdev: 086...
It's possible to output values as you go.
stdev is calculated in one pass,
this has minimal memory commitments so you can take averages of everything.