cupy.random.pareto(a, size=None, dtype=<class 'float'>)[source]#

Pareto II or Lomax distribution.

Returns an array of samples drawn from the Pareto II distribution. Its probability density function is defined as

\[f(x) = \alpha(1+x)^{-(\alpha+1)}.\]
  • a (float or array_like of floats) – Parameter of the Pareto II distribution \(\alpha\).

  • size (int or tuple of ints) – The shape of the array. If None, this function generate an array whose shape is a.shape.

  • dtype – Data type specifier. Only numpy.float32 and numpy.float64 types are allowed.


Samples drawn from the Pareto II distribution.

Return type: