|
Celeritas 0.7.0-dev.170+develop.df22d2a88
|
Sample one or more distributions, returning a histogram. More...
#include <HistogramSampler.hh>
Public Types | |
Type aliases | |
| using | Dbl2 = Histogram::Dbl2 |
Public Member Functions | |
| HistogramSampler (size_type num_bins, Dbl2 domain, size_type num_samples) | |
| Construct with number of samples. | |
| template<class DistributionT > | |
| SampledHistogram | operator() (DistributionT &&sample_from) |
| Sample from and accumulate the given distribution. | |
| template<class TransformT , class DistributionT > | |
| SampledHistogram | operator() (TransformT &&transform, DistributionT &&sample_from) |
| Sample from and accumulate the given distribution using a transform. | |
Sample one or more distributions, returning a histogram.