how to calculate the Sample standard deviation using accumulators Hello,

Hello, How can I calculate the Sample Standard Deviation over a std::vector of doubles using accumulators? Or is there a faster way in boost math or somesuch? Thanks

On Jan 17, 2012, at 3:38 PM, Victor Yankee wrote:
How can I calculate the Sample Standard Deviation over a std::vector of doubles using accumulators?
Or is there a faster way in boost math or some such?
Google is your friend (second hit for "boost accumulator standard deviation"):
http://stackoverflow.com/questions/7616511/calculate-mean-and-standard-devia...
and http://stackoverflow.com/questions/4316716/is-it-possible-to-use-boost-accum...
accumulator_set
participants (2)
-
Marshall Clow
-
Victor Yankee