GPLIB++
|
Implementation of the Bootstrap error estimation method. More...
#include <Bootstrap.h>
Public Member Functions | |
Bootstrap (const int nrea, SampleGenerator TheGenerator) | |
The constructor passes everything to the base. More... | |
virtual | ~Bootstrap () |
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... | |
Implementation of the Bootstrap error estimation method.
Definition at line 23 of file Bootstrap.h.
|
inline |
The constructor passes everything to the base.
Definition at line 30 of file Bootstrap.h.
|
inlinevirtual |
Definition at line 34 of file Bootstrap.h.