OpenMPCD
|
The uniform distribution in the open interval \( (0, 1) \). More...
#include <Uniform0e1e.hpp>
Public Member Functions | |
template<typename RNG > | |
OPENMPCD_CUDA_DEVICE T | operator() (RNG &rng) const |
Generates a random value sampled from the distribution. More... | |
The uniform distribution in the open interval \( (0, 1) \).
Neither \( 0 \) nor \( 1 \) lie within the range of possible values.
T | The underlying data type, which must be float or double . |
Definition at line 30 of file Uniform0e1e.hpp.
|
inline |
Generates a random value sampled from the distribution.
RNG | The random number generator type. |
[in] | rng | The random number generator instance. |
Definition at line 42 of file Uniform0e1e.hpp.