cupynumeric.random.weibull#
- cupynumeric.random.weibull(a, size=None)#
Draw samples from a Weibull distribution.
Draw samples from a 1-parameter Weibull distribution with the given shape parameter a.
\[X = (-ln(U))^{1/a}\]Here, U is drawn from the uniform distribution over (0,1].
The more common 2-parameter Weibull, including a scale parameter \(\lambda\) is just \(X = \lambda(-ln(U))^{1/a}\).
- Parameters:
- Returns:
out – Drawn samples from the parameterized Weibull distribution.
- Return type:
ndarray or scalar
See also
- Availability:
Multiple GPUs, Multiple CPUs