|
| 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 743 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 751 of file Accumulators.h.
753 Result sum = this->sum();
754 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 758 of file Accumulators.h.
760 Result sum = this->sum();
761 return (
n > 1 ) ?
static_cast<Result
>( ( this->sum2() - sum * ( sum /
n ) ) / (
n - 1 ) ) : Result{};