18 #ifndef MYGSL_VON_NEUMANN_METHOD_H 19 #define MYGSL_VON_NEUMANN_METHOD_H 1 68 void init(
double xmin_,
79 void dump(std::ostream & out_ = std::clog)
const;
93 #endif // MYGSL_VON_NEUMANN_METHOD_H
static const size_t MIN_NSAMPLES
Definition: von_neumann_method.h:36
static const double AUTO_FMAX
Definition: von_neumann_method.h:35
static const size_t DEFAULT_NSAMPLES
Definition: von_neumann_method.h:37
size_t get_max_counts() const
static const size_t NO_MAX_COUNTS
Definition: von_neumann_method.h:39
static const size_t DEFAULT_MAX_COUNTS
Definition: von_neumann_method.h:38
bool is_initialized() const
Abstract interface for unary functions : R -> R.
Definition: i_unary_function.h:44
void initialize(double xmin_, double xmax_, const i_unary_function &func_, double fmax_, size_t nsamples_, size_t max_counts_)
Top-level namespace of the Bayeux/mygsl module library.
Definition: base_decay_driver.h:47
void dump(std::ostream &out_=std::clog) const
Von Neumann's rejection method for one dimensional PDF.
Definition: von_neumann_method.h:31
void init(double xmin_, double xmax_, const i_unary_function &func_, double fmax_, size_t nsamples_=DEFAULT_NSAMPLES, size_t max_counts_=DEFAULT_MAX_COUNTS)
Pseudo random number generator.
Definition: rng.h:53