Public Member Functions | |
| Entropy (float min, float max, float incr) | |
| Specify the expected values. | |
| void | update (float v) |
| add a value | |
| float | calc () const |
| get entropy of values so far. | |
| w2qcref::Entropy::Entropy | ( | float | min, | |
| float | max, | |||
| float | incr | |||
| ) |
Specify the expected values.
Values < min or > max will be assumed to fall in the lowest/highest bin respectively.
| float w2qcref::Entropy::calc | ( | ) | const |
get entropy of values so far.
| void w2qcref::Entropy::update | ( | float | v | ) | [inline] |
add a value
1.4.7