GPLIB++
|
Implements the Jacknifing method of error estimation. More...
#include <Jacknife.h>
Public Member Functions | |
Jacknife (const int nrea, SampleGenerator TheGenerator) | |
The constructor just passes all its arguments to the base class. More... | |
virtual | ~Jacknife () |
Public Member Functions inherited from gplib::StatErrEst< SampleGenerator > | |
std::vector< double > & | GetSamples () |
public access function to generated samples More... | |
void | CalcErrors (double &m, double &v) |
The main function, calculates the error, by generating samples and calling the derived function. More... | |
StatErrEst (const int nsamples, SampleGenerator TheGenerator) | |
The constructor takes two parameters, the desired number of samples and the function object to generate them. More... | |
virtual | ~StatErrEst () |
Additional Inherited Members | |
Protected Attributes inherited from gplib::StatErrEst< SampleGenerator > | |
int | nrealizations |
How many samples are requested. More... | |
std::vector< double > | Samples |
the vector that holds the generated samples More... | |
Implements the Jacknifing method of error estimation.
This class implements the Jacknifing mehtod for error estimation, at this point the implementation is purely geared towards simple mean and variance calculation and not easily extensible, should be changed in the future
Definition at line 20 of file Jacknife.h.
|
inline |
The constructor just passes all its arguments to the base class.
Definition at line 27 of file Jacknife.h.
|
inlinevirtual |
Definition at line 31 of file Jacknife.h.