|
Infinity Engine v0.6.20
C++ API Documentation
|
Parameter set for the distribution. More...
#include <PRNGDistribution.hpp>
Public Types | |
| using | distribution_type = WeibullDistribution< RealType > |
Public Member Functions | |
| param_type () | |
| Default constructor. Creates parameters for Weibull(1, 1) (exponential). | |
| param_type (RealType a, RealType b=RealType(1)) | |
| Constructs parameters. | |
| RealType | a () const |
| Gets the shape parameter. | |
| RealType | b () const |
| Gets the scale 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 shape and scale parameters of the Weibull distribution.
| using Infinity::Engine::WeibullDistribution< RealType >::param_type::distribution_type = WeibullDistribution<RealType> |
|
inline |
Default constructor. Creates parameters for Weibull(1, 1) (exponential).
|
inlineexplicit |
Constructs parameters.
| a | Shape parameter (must be > 0) |
| b | Scale parameter (must be > 0), defaults to 1 |
|
inline |
Gets the shape parameter.
|
inline |
Gets the scale parameter.
|
friend |
|
friend |