#include <algorithm>
#include <numeric>
#include <cmath>
Go to the source code of this file.
Functions | |
template<class CONT > | |
double | stat_mean (const CONT &cont) |
template<class CONT > | |
double | stat_RMS (const CONT &cont) |
double stat_mean | ( | const CONT & | cont | ) |
A trivial class computing the mean value of objects in any STL container.
Definition at line 13 of file simple_stat.h.
References generateEDF::cont.
Referenced by TIBRing::checkPeriodicity().
double stat_RMS | ( | const CONT & | cont | ) |
A simple class computing the R.M.S. of objects in any STL container.
Definition at line 23 of file simple_stat.h.
References generateEDF::cont, mps_fire::i, SiStripPI::max, N, mathSSE::sqrt(), and combinedConstraintHelpers::sum2().
Referenced by PhiBorderFinder::PhiBorderFinder(), and RBorderFinder::RBorderFinder().