10 double sum = accumulate (cont.begin(), cont.end(), 0.);
11 return sum / cont.size();
22 typename CONT::const_iterator
i;
26 double sum=0., sum2=0.;
27 for (i=cont.begin(); i!=cont.end(); i++) {
31 return sqrt(
std::max( 0., (sum2 - sum*sum/N) / (N-1))) ;
double stat_mean(const CONT &cont)
double stat_RMS(const CONT &cont)