Class that generates the Weibull distribution It can be used for example to describe particle size distribution, as in the subcase of Rosin & Rammler distribution.
|ChWeibullDistribution (double mlambda, double mk)|
|Create the Weibull distribution with assigned scale factor 'lambda' and with shape 'k'. More...|
|virtual double||GetRandom ()|
|Compute a random value whose probability density is the Weibull distribution. More...|
|Public Member Functions inherited from chrono::ChDistribution|
|Default destructor for distribution object. |
Constructor & Destructor Documentation
Create the Weibull distribution with assigned scale factor 'lambda' and with shape 'k'.
The larger 'labda' is, the more horizontally stretched is the distribution. For k<1, there is a vertical peak at 0. For k=1, you get the exponential distribution For k>1, you get an asymmetric bell shape
Member Function Documentation
Compute a random value whose probability density is the Weibull distribution.
It uses the "Smirnov transform" (inverse probability integral transform)