Jpp 19.3.0-rc.2
the software that should make you happy
|
Auxiliary data structure for average. More...
#include <JQuantile_t.hh>
Public Member Functions | |
JQuantile_t () | |
Default constructor. | |
void | reset () |
Reset. | |
void | put (const double x) |
Put value. | |
double | getMean () const |
Get mean value. | |
double | getMean (const double value) const |
Get mean value. | |
Private Attributes | |
std::vector< double > | buffer |
Auxiliary data structure for average.
The determination of the average should be independent of the order of the input values.
Definition at line 25 of file JQuantile_t.hh.
|
inline |
Default constructor.
Definition at line 29 of file JQuantile_t.hh.
|
inline |
|
inline |
|
inline |
Get mean value.
Definition at line 60 of file JQuantile_t.hh.
|
inline |
Get mean value.
value | default value |
Definition at line 81 of file JQuantile_t.hh.
|
mutableprivate |
Definition at line 90 of file JQuantile_t.hh.