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

#include <gromacs/random/exponentialdistribution.h>

Description

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

Exponential distribution parameters.

Public Types

typedef ExponentialDistribution distribution_type
 Reference back to the distribution class.
 

Public Member Functions

 param_type (result_type lambda=1.0)
 Construct parameter block. More...
 
result_type lambda () const
 Return lambda parameter.
 
bool operator== (const param_type &x) const
 True if two parameter sets will return the same exponential distribution. More...
 
bool operator!= (const param_type &x) const
 True if two parameter sets will return different exponential distributions. More...
 

Constructor & Destructor Documentation

template<class RealType = real>
gmx::ExponentialDistribution< RealType >::param_type::param_type ( result_type  lambda = 1.0)
inlineexplicit

Construct parameter block.

Parameters
lambdalambda/decay parameter

Member Function Documentation

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

True if two parameter sets will return different exponential distributions.

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

True if two parameter sets will return the same exponential distribution.

Parameters
xInstance to compare with.

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