libjmmcg  release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
ave_deviation_meter.hpp File Reference
#include "thread_api_traits.hpp"
#include "ttypes.hpp"
#include <cstdlib>
#include <iomanip>
#include <limits>
#include "ave_deviation_meter_impl.hpp"
Include dependency graph for ave_deviation_meter.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  jmmcg::LIBJMMCG_VER_NAMESPACE::ave_deviation_meter< MeteredObjType >
 A class used to compute the arithmetic mean and mean-average deviation [1] of a series of events. More...
 

Namespaces

namespace  jmmcg
 Link with -lrt to include these functions.
 
namespace  jmmcg::LIBJMMCG_VER_NAMESPACE
 

Functions

template<typename MeteredObjType >
tostream &__fastcall FORCE_INLINE jmmcg::LIBJMMCG_VER_NAMESPACE::operator<< (tostream &os, ave_deviation_meter< MeteredObjType > const &p) noexcept(false)
 
template<class MeteredObjType , class Fn >
ave_deviation_meter< MeteredObjType > jmmcg::LIBJMMCG_VER_NAMESPACE::estimate_average_deviation (typename ave_deviation_meter< MeteredObjType >::value_type const computations, Fn fn)
 An algorithm to estimate the average deviation returned after a functor is computed N times. More...
 
template<class MeteredObjType , class Fn >
std::pair< ave_deviation_meter< MeteredObjType >, booljmmcg::LIBJMMCG_VER_NAMESPACE::compute_average_deviation (double const target_deviation, typename ave_deviation_meter< MeteredObjType >::value_type const max_computations, Fn fn)
 An algorithm to compute the ave_deviation_meter of a functor when a specific average deviation is requested. More...