|
template<typename Result = fp_result_type<Arithmetic>> |
auto | biased_sample_variance () const |
|
template<typename Result = fp_result_type<Arithmetic>> |
auto | unbiased_sample_variance () const |
|
template<typename Result = fp_result_type<Arithmetic>> |
auto | standard_deviation () const |
|
Arithmetic | rms () const |
|
template<typename Result = fp_result_type<Arithmetic>> |
auto | meanErr () const |
|
constexpr | AccumulatorSet ()=default |
|
| AccumulatorSet (construct_empty_t, const AccumulatorSet< Arithmetic, ato, InputType, AvgAcc ... > &) |
| constructor of an empty AccumulatorSet, copying the (non existent) config from another GenericAccumulator More...
|
|
AccumulatorSet & | operator+= (const InputType by) |
|
OutputType | value () const |
|
void | reset () |
|
void | mergeAndReset (AccumulatorSet< Arithmetic, Ato, InputType, AvgAcc ... > &other) |
|
void | operator+ (AccumulatorSet< Arithmetic, Ato, InputType, AvgAcc ... > &&other) |
|
template<atomicity Atomicity, typename Arithmetic, template< atomicity, typename > typename AvgAcc, template< atomicity, typename > typename SquareAcc>
struct Gaudi::Accumulators::SigmaAccumulatorBase< Atomicity, Arithmetic, AvgAcc, SquareAcc >
SigmaAccumulatorBase.
A SigmaAccumulator is an Accumulator able to compute an average and variance/rms This Base class is still templated on the averaging and square accumulators
- See also
- Gaudi::Accumulators for detailed documentation
Definition at line 780 of file Accumulators.h.
template<atomicity Atomicity, typename Arithmetic , template< atomicity, typename > typename AvgAcc, template< atomicity, typename > typename SquareAcc>
template<typename Result = fp_result_type<Arithmetic>>
Definition at line 788 of file Accumulators.h.
790 Result sum = this->sum();
791 return (
n > 0 ) ?
static_cast<Result
>( ( this->sum2() - sum * ( sum /
n ) ) /
n ) : Result{};
template<atomicity Atomicity, typename Arithmetic , template< atomicity, typename > typename AvgAcc, template< atomicity, typename > typename SquareAcc>
template<typename Result = fp_result_type<Arithmetic>>
Definition at line 795 of file Accumulators.h.
797 Result sum = this->sum();
798 return (
n > 1 ) ?
static_cast<Result
>( ( this->sum2() - sum * ( sum /
n ) ) / (
n - 1 ) ) : Result{};