Skip to main content

Weibull

Base class: Distribution

Weibull distribution with shape parameters a (with default value 1.0) and scale parameter b (with default value 1.0).

The probability density function is given by,

f(x∣a,b)=ab(xb)a−1exp⁡(−(xb)a).f(x | a,b) = \frac{a}{b}\left(\frac{x}{b}\right)^{a - 1}\exp\left(-\left(\tfrac{x}{b}\right)^a\right).

Constructors​

Weibull(const Weibull distribution) -> Weibull​

Copy constructor for Weibull distribution.

Parameters​

  • distribution: Weibull distribution to be copied

Symbols​

NameDescription
=Copy assignment operator for Weibull distribution.

Members​

NameDescription
aShape
bScale
maxReturns the maximum possible value from the distribution
minReturns the minimum possible value from the distribution
sampleSample from distribution.