GPLIB++
Public Member Functions | List of all members
gplib::Bootstrap< SampleGenerator > Class Template Reference

Implementation of the Bootstrap error estimation method. More...

#include <Bootstrap.h>

Inheritance diagram for gplib::Bootstrap< SampleGenerator >:
Inheritance graph
[legend]

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...
 

Detailed Description

template<class SampleGenerator>
class gplib::Bootstrap< SampleGenerator >

Implementation of the Bootstrap error estimation method.

Definition at line 23 of file Bootstrap.h.

Constructor & Destructor Documentation

template<class SampleGenerator >
gplib::Bootstrap< SampleGenerator >::Bootstrap ( const int  nrea,
SampleGenerator  TheGenerator 
)
inline

The constructor passes everything to the base.

Definition at line 30 of file Bootstrap.h.

template<class SampleGenerator >
virtual gplib::Bootstrap< SampleGenerator >::~Bootstrap ( )
inlinevirtual

Definition at line 34 of file Bootstrap.h.


The documentation for this class was generated from the following file: