Gromacs
2025.0-dev-20241011-013a99c
|
#include <gromacs/random/uniformintdistribution.h>
Uniform int distribution parameters.
Public Types | |
typedef UniformIntDistribution | distribution_type |
Reference back to the distribution class. | |
Public Member Functions | |
param_type (result_type a=0, result_type b=std::numeric_limits< result_type >::max()) | |
Construct parameter block. More... | |
result_type | a () const |
Return lower range. | |
result_type | b () const |
Return upper range. | |
bool | operator== (const param_type &x) const |
True if two parameter sets will return the same uniform int distribution. More... | |
bool | operator!= (const param_type &x) const |
True if two parameter sets will return different uniform int distributions. More... | |
|
inlineexplicit |
Construct parameter block.
a | Lower end of range (inclusive) |
b | Upper end of range (inclusive) |
|
inline |
True if two parameter sets will return different uniform int distributions.
x | Instance to compare with. |
|
inline |
True if two parameter sets will return the same uniform int distribution.
x | Instance to compare with. |