npstat is hosted by Hepforge, IPPP Durham
NPStat  5.10.0
npstat::ArrayMeanProjector< T, Result, Accumulator > Class Template Reference

#include <ArrayProjectors.hh>

Inheritance diagram for npstat::ArrayMeanProjector< T, Result, Accumulator >:
npstat::ArraySumProjector< T, Result, typename PreciseType< T >::type > npstat::AbsVisitor< T, Result >

Public Member Functions

Result result ()
 
- Public Member Functions inherited from npstat::ArraySumProjector< T, Result, typename PreciseType< T >::type >
void clear ()
 
void process (const T &value)
 

Additional Inherited Members

- Protected Attributes inherited from npstat::ArraySumProjector< T, Result, typename PreciseType< T >::type >
typename PreciseType< T >::type sum_
 
unsigned long n_
 

Detailed Description

template<typename T, typename Result, typename Accumulator = typename PreciseType<T>::type>
class npstat::ArrayMeanProjector< T, Result, Accumulator >

Mean projector

Member Function Documentation

◆ result()

template<typename T , typename Result , typename Accumulator = typename PreciseType<T>::type>
Result npstat::ArrayMeanProjector< T, Result, Accumulator >::result ( )
inlinevirtual

Return the result at the end of array processing

Reimplemented from npstat::ArraySumProjector< T, Result, typename PreciseType< T >::type >.


The documentation for this class was generated from the following file: