OpenMPCD
|
The standard normal distribution. More...
#include <StandardNormal.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 standard normal distribution.
This is the normal distribution with mean \( 0 \) and variance \( 1 \).
T | The underlying data type, which must be float or double . |
Definition at line 29 of file StandardNormal.hpp.
OPENMPCD_CUDA_DEVICE T OpenMPCD::CUDA::Random::Distributions::StandardNormal< T >::operator() | ( | RNG & | rng | ) | const |
Generates a random value sampled from the distribution.
RNG | The random number generator type. |
[in] | rng | The random number generator instance. |