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

Implements the Jacknifing method of error estimation. More...

#include <Jacknife.h>

Inheritance diagram for gplib::Jacknife< SampleGenerator >:
Inheritance graph

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

Detailed Description

template<class SampleGenerator>
class gplib::Jacknife< SampleGenerator >

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.

Constructor & Destructor Documentation

template<class SampleGenerator>
gplib::Jacknife< SampleGenerator >::Jacknife ( const int  nrea,
SampleGenerator  TheGenerator 

The constructor just passes all its arguments to the base class.

Definition at line 27 of file Jacknife.h.

template<class SampleGenerator>
virtual gplib::Jacknife< SampleGenerator >::~Jacknife ( )

Definition at line 31 of file Jacknife.h.

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