Gromacs
2024.3
|
#include <limits>
#include <memory>
#include "gromacs/math/functions.h"
#include "gromacs/utility/basedefinitions.h"
#include "gromacs/utility/classhelpers.h"
#include "gromacs/utility/gmxassert.h"
The uniform integer distribution.
Portable version of the uniform integer that generates the same sequence on all platforms. Since stdlibc++ and libc++ provide different sequences we prefer this one so unit tests produce the same values on all platforms.
Classes | |
class | gmx::UniformIntDistribution< IntType > |
Uniform integer distribution. More... | |
class | gmx::UniformIntDistribution< IntType >::param_type |
Uniform int distribution parameters. More... | |