mtalg.random.MultithreadedRNG.weibull

MultithreadedRNG.weibull(a: Number, size: int | tuple | None = None) ndarray | Number[source]

Draw from a Weibull distribution.

Parameters:
  • a – Shape parameter of the distribution. Must be nonnegative.

  • size – Output shape.

Returns:

numpy.ndarray or scalar.