#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 9 of file simple_stat.h.
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 20 of file simple_stat.h.
References mps_fire::i, hpstanc_transforms::max, N, mathSSE::sqrt(), and combinedConstraintHelpers::sum2().
Referenced by PhiBorderFinder::PhiBorderFinder(), and RBorderFinder::RBorderFinder().