cupynumeric.random.gumbel#
- cupynumeric.random.gumbel(loc=0.0, scale=1.0, size=None)#
Draw samples from a Gumbel distribution.
Draw samples from a Gumbel distribution with specified location and scale.
- Parameters:
loc (float, optional) – The location of the mode of the distribution. Default is 0.
scale (float, optional) – The scale parameter of the distribution. Default is 1. Must be non-negative.
size (int or tuple of ints, optional) – Output shape. If the given shape is, e.g.,
(m, n, k)
, thenm * n * k
samples are drawn. If size isNone
(default), a single value is returned.
- Returns:
out – Drawn samples from the parameterized Gumbel distribution.
- Return type:
ndarray or scalar
See also
- Availability:
Multiple GPUs, Multiple CPUs