dpnp.random.pareto

dpnp.random.pareto(a, size=None)[source]

Draw samples from a Pareto II or Lomax distribution with specified shape.

For full documentation refer to numpy.random.pareto.

Limitations

Parameter a is supported as a scalar. Otherwise, numpy.random.pareto(a, size) samples are drawn. Output array data type is dpnp.float64.

Examples

Draw samples from the distribution:

>>> a = .5  # alpha
>>> s = dpnp.random.pareto(a, 1000)