Gromacs  2020.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes
gammadistribution.h File Reference
#include <cmath>
#include <limits>
#include "gromacs/random/exponentialdistribution.h"
#include "gromacs/random/uniformrealdistribution.h"
#include "gromacs/utility/classhelpers.h"
+ Include dependency graph for gammadistribution.h:
+ This graph shows which files directly or indirectly include this file:

Description

The gamma distribution.

Portable version of the gamma distribution that generates the same sequence on all platforms.

Note
The gamma distribution is broken in some standard library headers (including those shipped with gcc-4.9), and it is not guaranteed to generate the same result on stdlibc++ and libc++. Use this one instead so our unit tests produce the same values on all platforms.
Author
Erik Lindahl erik..nosp@m.lind.nosp@m.ahl@g.nosp@m.mail.nosp@m..com

Classes

class  gmx::GammaDistribution< RealType >
 Gamma distribution. More...
 
class  gmx::GammaDistribution< RealType >::param_type
 Gamma distribution parameters. More...