mdp_jackboot Class Reference
coniatiner class for jackknife and boostrap analysis
More...
#include <mdp_jackboot.h>
List of all members.
Detailed Description
coniatiner class for jackknife and boostrap analysis
Example:
/// mdp_jackboot jb(10,2);
/// for(int k=0; k<10; k++) {
/// jb(k,0)=mdp_random.plain();
/// jb(k,1)=mdp_random.plain();
/// }
/// jb.plain(0);
/// cout << "mean of jb(k,0) =" << mean() << endl;
/// cout << "jackknife of mean jb(k,0) =" << j_err() << endl;
/// cout << "boostrap of mean jb(k,0) =" << b_err() << endl;
/// jb.plain(1);
/// cout << "mean of jb(k,1) =" << mean() << endl;
/// cout << "jackknife of mean jb(k,1) =" << j_err() << endl;
/// cout << "boostrap of mean jb(k,1) =" << b_err() << endl;
///
Constructor & Destructor Documentation
mdp_jackboot::mdp_jackboot |
( |
|
) |
[inline] |
mdp_jackboot::mdp_jackboot |
( |
int |
nconf_, |
|
|
int |
narg_ = 1 | |
|
) |
| | [inline] |
allocate container for nconf_ datasets of nargs_ numbers each
virtual mdp_jackboot::~mdp_jackboot |
( |
|
) |
[inline, virtual] |
Member Function Documentation
float* mdp_jackboot::address |
( |
int |
conf |
) |
[inline] |
float mdp_jackboot::b_err |
( |
int |
nboot = 100 |
) |
[inline] |
void mdp_jackboot::dimension |
( |
int |
nconf_, |
|
|
int |
narg_ = 1 | |
|
) |
| | [inline] |
float mdp_jackboot::j_err |
( |
|
) |
[inline] |
void mdp_jackboot::makesample |
( |
int * |
p, |
|
|
int |
nboot | |
|
) |
| | [inline] |
float mdp_jackboot::mean |
( |
|
) |
[inline] |
float& mdp_jackboot::operator() |
( |
int |
arg |
) |
[inline] |
float& mdp_jackboot::operator() |
( |
int |
present_conf, |
|
|
int |
arg | |
|
) |
| | [inline] |
void mdp_jackboot::plain |
( |
int |
i |
) |
[inline] |
Friends And Related Function Documentation
float mdp_jackboot_plain |
( |
float * |
x, |
|
|
void * |
a | |
|
) |
| | [friend] |
Member Data Documentation
The documentation for this class was generated from the following file: