#include <vector>
#include <list>
Go to the source code of this file.
|
class | TemplateValueAnalysation< type, zero, lower, higher, doubleDiv, doubleMul, add, sub, mul, div > |
| 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, zero, lower, higher, doubleDiv, doubleMul, add, sub, mul, div >::TYPE_SAVE |
| help structur for sorting the set. More...
|
|
|
#define | ANALYSATION_CONTEXT TemplateValueAnalysation<type,zero,lower,higher,doubleDiv,doubleMul,add,sub,mul,div> |
|
#define | DOUBLE_ANALYSATION_CONTEXT TemplateValueAnalysation<double,defaultZero> |
|
|
template<class type > |
bool | defaultLower (const type &a, const type &b) |
| default function for "lower as" operation. More...
|
|
template<class type > |
type | defaultDoubleDiv (const type &a, const double &b) |
| default function for divide by a double value. More...
|
|
template<class type > |
type | defaultDoubleMul (const type &a, const double &b) |
| default function for mul. More...
|
|
template<class type > |
bool | defaultHigher (const type &a, const type &b) |
| default function for "higher than" operation. More...
|
|
template<class type > |
type | defaultAdd (const type &a, const type &b) |
| default function for add two values More...
|
|
template<class type > |
type | defaultSub (const type &a, const type &b) |
| default function for sub. More...
|
|
template<class type > |
type | defaultMul (const type &a, const type &b) |
| default function for mul. More...
|
|
template<class type > |
type | defaultDiv (const type &a, const type &b) |
| default function for div. More...
|
|
double | defaultZero () |
| default function for zero double value More...
|
|
type defaultAdd |
( |
const type & |
a, |
|
|
const type & |
b |
|
) |
| |
default function for add two values
- Parameters
-
- Returns
- the result of the add.
type defaultDiv |
( |
const type & |
a, |
|
|
const type & |
b |
|
) |
| |
default function for div.
of two values
- Parameters
-
- Returns
- the result of the div.
type defaultDoubleDiv |
( |
const type & |
a, |
|
|
const double & |
b |
|
) |
| |
default function for divide by a double value.
- Parameters
-
a | operator a |
b | (double) the double value |
- Returns
- the result of the division
type defaultDoubleMul |
( |
const type & |
a, |
|
|
const double & |
b |
|
) |
| |
default function for mul.
with a double value.
- Parameters
-
a | operator a |
b | (double) the double value |
- Returns
- the result of the mul.
bool defaultHigher |
( |
const type & |
a, |
|
|
const type & |
b |
|
) |
| |
default function for "higher than" operation.
- Parameters
-
- Returns
- (bool) true if a higher than b
bool defaultLower |
( |
const type & |
a, |
|
|
const type & |
b |
|
) |
| |
default function for "lower as" operation.
- Parameters
-
- Returns
- (bool) true if a lower than b
type defaultMul |
( |
const type & |
a, |
|
|
const type & |
b |
|
) |
| |
default function for mul.
of two values
- Parameters
-
- Returns
- the result of the mul.
type defaultSub |
( |
const type & |
a, |
|
|
const type & |
b |
|
) |
| |
default function for sub.
two values
- Parameters
-
- Returns
- the result of the sub.
default function for zero double value
- Returns
- (double) 0.0