Jpp
18.6.0-rc.1
the software that should make you happy
|
Auxiliary data structure for average. More...
#include <JQuantile_t.hh>
Public Member Functions | |
JQuantile_t () | |
Default constructor. More... | |
void | reset () |
Reset. More... | |
void | put (const double x) |
Put value. More... | |
long double | getMean () const |
Get mean value. More... | |
long double | getMean (const double value) const |
Get mean value. More... | |
Private Attributes | |
long double | total |
long long int | count |
Auxiliary data structure for average.
The determination of the average should be independent of the order of the input values.
Definition at line 21 of file JQuantile_t.hh.
|
inline |
Default constructor.
Definition at line 25 of file JQuantile_t.hh.
|
inline |
|
inline |
|
inline |
Get mean value.
Definition at line 58 of file JQuantile_t.hh.
|
inline |
Get mean value.
value | default value |
Definition at line 73 of file JQuantile_t.hh.
|
private |
Definition at line 82 of file JQuantile_t.hh.
|
private |
Definition at line 83 of file JQuantile_t.hh.