|
Gromacs
2026.0-dev-20251105-11eb1db
|
#include <gromacs/random/gammadistribution.h>
Gamma distribution parameters.
Public Types | |
| typedef GammaDistribution | distribution_type |
| Reference back to the distribution class. | |
Public Member Functions | |
| param_type (result_type alpha=1.0, result_type theta=1.0) | |
| Construct parameter block. More... | |
| result_type | alpha () const |
| Return shape parameter. | |
| result_type | theta () const |
| Return scale parameter. | |
| bool | operator== (const param_type &x) const |
| True if two parameter sets will return the same distribution. More... | |
| bool | operator!= (const param_type &x) const |
| True if two parameter sets will return different distributions. More... | |
|
inlineexplicit |
Construct parameter block.
| alpha | Shape parameter of gamma distribution |
| theta | Scale parameter of gamma distribution |
| InvalidInputError | if either parameter is negative or zero. |
|
inline |
True if two parameter sets will return different distributions.
| x | Instance to compare with. |
|
inline |
True if two parameter sets will return the same distribution.
| x | Instance to compare with. |
1.8.5