mtalg.random.MultithreadedRNG.pareto

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

Draw from a Pareto II or Lomax distribution.

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

  • size – Output shape.

Returns:

numpy.ndarray or scalar.