#include <vector>
#include <list>
Include dependency graph for templatevalueanalysation.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
class | TemplateValueAnalysation |
This template class give you some methods to calculate some statistical values like average, min, max, upper quartil, lower quartil and many more. More... | |
struct | TemplateValueAnalysation::TYPE_SAVE |
help structur for sorting the set. More... | |
Defines | |
#define | ANALYSATION_CONTEXT TemplateValueAnalysation<type,zero,lower,higher,doubleDiv,doubleMul,add,sub,mul,div> |
#define | DOUBLE_ANALYSATION_CONTEXT TemplateValueAnalysation<double,defaultZero> |
Functions | |
template<class type> | |
bool | defaultLower (const type &a, const type &b) |
default function for "lower as" operation. | |
template<class type> | |
type | defaultDoubleDiv (const type &a, const double &b) |
default function for divide by a double value. | |
template<class type> | |
type | defaultDoubleMul (const type &a, const double &b) |
default function for mul. | |
template<class type> | |
bool | defaultHigher (const type &a, const type &b) |
default function for "higher than" operation. | |
template<class type> | |
type | defaultAdd (const type &a, const type &b) |
default function for add two values | |
template<class type> | |
type | defaultSub (const type &a, const type &b) |
default function for sub. | |
template<class type> | |
type | defaultMul (const type &a, const type &b) |
default function for mul. | |
template<class type> | |
type | defaultDiv (const type &a, const type &b) |
default function for div. | |
double | defaultZero () |
default function for zero double value |
#define ANALYSATION_CONTEXT TemplateValueAnalysation<type,zero,lower,higher,doubleDiv,doubleMul,add,sub,mul,div> |
#define DOUBLE_ANALYSATION_CONTEXT TemplateValueAnalysation<double,defaultZero> |
type defaultAdd | ( | const type & | a, | |
const type & | b | |||
) |
default function for add two values
a | operator a | |
b | operator b |
type defaultDiv | ( | const type & | a, | |
const type & | b | |||
) |
default function for div.
of two values
a | operator a | |
b | operator b |
type defaultDoubleDiv | ( | const type & | a, | |
const double & | b | |||
) |
default function for divide by a double value.
a | operator a | |
b | (double) the double value |
type defaultDoubleMul | ( | const type & | a, | |
const double & | b | |||
) |
default function for mul.
with a double value.
a | operator a | |
b | (double) the double value |
bool defaultHigher | ( | const type & | a, | |
const type & | b | |||
) |
default function for "higher than" operation.
a | operator a | |
b | operator b |
bool defaultLower | ( | const type & | a, | |
const type & | b | |||
) |
default function for "lower as" operation.
a | operator a | |
b | operator b |
type defaultMul | ( | const type & | a, | |
const type & | b | |||
) |
default function for mul.
of two values
a | operator a | |
b | operator b |
type defaultSub | ( | const type & | a, | |
const type & | b | |||
) |
default function for sub.
two values
a | operator a | |
b | operator b |
double defaultZero | ( | ) |
default function for zero double value