sampleDistro1DWithWeight.hh File Reference Acceptance-rejection sampling from a density with compensatory weights. Does not change the average but affects the variance. More... #include <cmath> #include <vector> #include <utility> #include <cassert> #include <stdexcept> #include <climits> #include "npstat/nm/Triple.hh" #include "npstat/nm/fcnOrConst.hh" #include "npstat/rng/AbsRandomGenerator.hh" #include "npstat/stat/AbsDistribution1D.hh" Go to the source code of this file.
Detailed DescriptionAcceptance-rejection sampling from a density with compensatory weights. Does not change the average but affects the variance. Author: I. Volobouev June 2022 Generated by 1.9.1 |