|
template<typename Engine > |
__hydra_host__ __hydra_device__ value_type | operator() (Engine &rng, Functor const &functor) const |
| The function call operator return a random number at each call. More...
|
|
template<typename Engine , typename T = double> |
__hydra_host__ __hydra_device__ value_type | operator() (Engine &rng, std::initializer_list< T > pars) const |
| The function call operator return a random number at each call. More...
|
|
template<typename Engine > |
__hydra_host__ __hydra_device__ void | SetState (Engine &rng, Functor const &functor, size_t ncall) const |
| In multi-thread environment, SetState needs to be called in order to avoid the generation of overlapping pseudo-random numbers. More...
|
|
template<typename Engine , typename T = double> |
__hydra_host__ __hydra_device__ void | SetState (Engine &rng, std::initializer_list< T > pars, size_t ncall) const |
| In multi-thread environment, SetState needs to be called in order to avoid the generation of overlapping pseudo-random numbers. More...
|
|
template<typename Functor>
struct hydra::Distribution< Functor, true >
◆ value_type
template<typename Functor >
◆ operator()() [1/2]
template<typename Functor >
template<typename Engine >
The function call operator return a random number at each call.
◆ operator()() [2/2]
template<typename Functor >
template<typename Engine , typename T = double>
The function call operator return a random number at each call.
◆ SetState() [1/2]
template<typename Functor >
template<typename Engine >
In multi-thread environment, SetState needs to be called in order to avoid the generation of overlapping pseudo-random numbers.
RngFormula specializations are required to implement the method NCalls, that returns the numbers of calls to the RNG engine to generate a point.
◆ SetState() [2/2]
template<typename Functor >
template<typename Engine , typename T = double>
In multi-thread environment, SetState needs to be called in order to avoid the generation of overlapping pseudo-random numbers.
RngFormula specializations are required to implement the method NCalls, that returns the numbers of calls to the RNG engine to generate a point.
The documentation for this struct was generated from the following file: