|
Infinity Engine v0.6.20
C++ API Documentation
|
Parameter set for the distribution. More...
#include <PRNGDistribution.hpp>
Public Types | |
| using | distribution_type = ExponentialDistribution< RealType > |
Public Member Functions | |
| param_type () | |
| Default constructor. Creates parameters for Exponential(1). | |
| param_type (RealType lambda) | |
| Constructs parameters. | |
| RealType | lambda () const |
| Gets the rate parameter. | |
Friends | |
| bool | operator== (const param_type &lhs, const param_type &rhs) |
| bool | operator!= (const param_type &lhs, const param_type &rhs) |
Parameter set for the distribution.
Stores the rate parameter lambda.
| using Infinity::Engine::ExponentialDistribution< RealType >::param_type::distribution_type = ExponentialDistribution<RealType> |
|
inline |
Default constructor. Creates parameters for Exponential(1).
|
inlineexplicit |
Constructs parameters.
| lambda | Rate parameter (must be > 0). Mean = 1/lambda. |
|
inline |
Gets the rate parameter.
|
friend |
|
friend |