Celeritas
0.5.0-86+4a8eea4
|
#include <type_traits>
#include "corecel/cont/Range.hh"
#include "corecel/math/Algorithms.hh"
#include "corecel/math/SoftEqual.hh"
#include "distribution/GenerateCanonical.hh"
Classes | |
class | celeritas::Selector< F, T > |
On-the-fly selection of a weighted discrete distribution. More... | |
Functions | |
template<class F , class T > | |
CELER_FUNCTION Selector< F, T > | celeritas::make_selector (F &&func, T size, decltype(func(size)) total=1) |
Create a selector object from a function and total accumulated value. | |