Gromacs  2024.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions
gmx::UniformRealDistribution< RealType >::param_type Class Reference

#include <gromacs/random/uniformrealdistribution.h>

Description

template<class RealType = real>
class gmx::UniformRealDistribution< RealType >::param_type

Uniform real distribution parameters.

Public Types

typedef UniformRealDistribution distribution_type
 Reference back to the distribution class.
 

Public Member Functions

 param_type (result_type a=0.0, result_type b=1.0)
 Construct parameter block. More...
 
result_type a () const
 Return first parameter.
 
result_type b () const
 Return second parameter.
 
bool operator== (const param_type &x) const
 True if two parameter sets will return the same uniform real distribution. More...
 
bool operator!= (const param_type &x) const
 True if two parameter sets will return different uniform real distributions. More...
 

Constructor & Destructor Documentation

template<class RealType = real>
gmx::UniformRealDistribution< RealType >::param_type::param_type ( result_type  a = 0.0,
result_type  b = 1.0 
)
inlineexplicit

Construct parameter block.

Parameters
aLower end of range (inclusive)
bUpper end of range (exclusive)

Member Function Documentation

template<class RealType = real>
bool gmx::UniformRealDistribution< RealType >::param_type::operator!= ( const param_type x) const
inline

True if two parameter sets will return different uniform real distributions.

Parameters
xInstance to compare with.
template<class RealType = real>
bool gmx::UniformRealDistribution< RealType >::param_type::operator== ( const param_type x) const
inline

True if two parameter sets will return the same uniform real distribution.

Parameters
xInstance to compare with.

The documentation for this class was generated from the following file: