weibull_min

Contents

weibull_min#

class brainstate.random.weibull_min(a, scale=None, size=None, key=None, dtype=None)#

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 (str | type[Any] | dtype | SupportsDType) – The type used for samples.

  • key (int | Array | ndarray | None) – a PRNG key or a seed.

Returns:

A jnp.array of samples.