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

Description

The exponential distribution.

Portable version of the exponential distribution that generates the same sequence on all platforms. Since stdlibc++ and libc++ provide different sequences we prefer this one so 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::ExponentialDistribution< RealType >
 Exponential distribution. More...
 
class  gmx::ExponentialDistribution< RealType >::param_type
 Exponential distribution parameters. More...