brainpy.math.random.weibull_min#
- brainpy.math.random.weibull_min(a, scale=None, size=None, key=None)[source]#
Sample from a Weibull distribution.
The scipy counterpart is scipy.stats.weibull_min.
- Parameters:
scale – The scale parameter of the distribution.
concentration – The concentration parameter of the distribution.
shape – The shape added to the parameters loc and scale broadcastable shape.
dtype – The type used for samples.
key – a PRNG key or a seed.
- Returns:
A jnp.array of samples.