Implementation detail for a sample range adaptor object. More...
#include <sample.hpp>

Public Member Functions | |
| template<class Range , class URNG > | |
| constexpr auto | operator() (Range &&range, std::reference_wrapper< URNG > engine) const |
| Overload that unwraps the engine reference from a view closure. More... | |
| template<class T > | |
| constexpr auto | operator() (T &&t) const |
| Overload that takes one argument. More... | |
| template<class T , class U > | |
| constexpr auto | operator() (T &&t, U &&u) const |
| Overload that takes two arguments. More... | |
| template<class T , class U , class V > | |
| constexpr auto | operator() (T &&t, U &&u, V &v) const |
| Overload that takes three arguments. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from beluga::views::detail::sample_base_fn | |
| template<class Distribution , class URNG > | |
| constexpr auto | sample_from_distribution (Distribution distribution, URNG &engine) const |
| Sample from random distributions. More... | |
| template<class Range , class URNG > | |
| constexpr auto | sample_from_range (Range &&range, URNG &engine) const |
| Sample from any range. More... | |
| template<class Range , class Weights , class URNG > | |
| constexpr auto | sample_from_range (Range &&range, Weights &&weights, URNG &engine) const |
| Sample from weighted ranges. More... | |
Implementation detail for a sample range adaptor object.
Definition at line 170 of file sample.hpp.
|
inlineconstexpr |
Overload that unwraps the engine reference from a view closure.
Definition at line 212 of file sample.hpp.
|
inlineconstexpr |
Overload that takes one argument.
Definition at line 197 of file sample.hpp.
|
inlineconstexpr |
Overload that takes two arguments.
Definition at line 181 of file sample.hpp.
|
inlineconstexpr |
Overload that takes three arguments.
Definition at line 173 of file sample.hpp.