1 #ifndef ALGORITHMICSAMPLER_H
2 #define ALGORITHMICSAMPLER_H
18 virtual double sample() = 0;
32 #endif // ALGORITHMICSAMPLER_H
virtual double sample()=0
drawing a (pseudo)random value according to the distribution.
Abstraction for algorithms that produce samples of some unspecified distribution. ...
Definition: algorithmicSampler.h:8
virtual void iidSample(int n, double *sample)=0
drawing an i.i.d. sample from the distribution. The result is returned in an array (that must have be...