#include <reduce.h>
Public Types | |
typedef P_sourcetype | T_sourcetype |
typedef P_resulttype | T_resulttype |
typedef T_resulttype | T_numtype |
Public Member Functions | |
ReduceMean () | |
ReduceMean (T_resulttype) | |
bool | operator() (T_sourcetype x) |
bool | operator() (T_sourcetype x, int) |
T_resulttype | result (int count) |
void | reset () |
void | reset (T_resulttype) |
Static Public Member Functions | |
static const char * | name () |
Static Public Attributes | |
static const bool | needIndex = false |
static const bool | canProvideInitialValue = false |
Protected Attributes | |
T_resulttype | sum_ |
typedef P_sourcetype ReduceMean< P_sourcetype, P_resulttype >::T_sourcetype |
typedef P_resulttype ReduceMean< P_sourcetype, P_resulttype >::T_resulttype |
typedef T_resulttype ReduceMean< P_sourcetype, P_resulttype >::T_numtype |
ReduceMean< P_sourcetype, P_resulttype >::ReduceMean | ( | ) | [inline] |
ReduceMean< P_sourcetype, P_resulttype >::ReduceMean | ( | T_resulttype | ) | [inline] |
bool ReduceMean< P_sourcetype, P_resulttype >::operator() | ( | T_sourcetype | x | ) | [inline] |
bool ReduceMean< P_sourcetype, P_resulttype >::operator() | ( | T_sourcetype | x, | |
int | ||||
) | [inline] |
T_resulttype ReduceMean< P_sourcetype, P_resulttype >::result | ( | int | count | ) | [inline] |
void ReduceMean< P_sourcetype, P_resulttype >::reset | ( | ) | [inline] |
void ReduceMean< P_sourcetype, P_resulttype >::reset | ( | T_resulttype | ) | [inline] |
static const char* ReduceMean< P_sourcetype, P_resulttype >::name | ( | ) | [inline, static] |
const bool ReduceMean< P_sourcetype, P_resulttype >::needIndex = false [static] |
const bool ReduceMean< P_sourcetype, P_resulttype >::canProvideInitialValue = false [static] |
T_resulttype ReduceMean< P_sourcetype, P_resulttype >::sum_ [protected] |