Gromacs  2024.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes
gammadistribution.h File Reference
#include <cmath>
#include <limits>
#include <memory>
#include "gromacs/math/functions.h"
#include "gromacs/random/exponentialdistribution.h"
#include "gromacs/random/normaldistribution.h"
#include "gromacs/random/uniformrealdistribution.h"
#include "gromacs/utility/classhelpers.h"
#include "gromacs/utility/exceptions.h"
+ Include dependency graph for gammadistribution.h:

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...