cunumeric.random.standard_cauchy#

cunumeric.random.standard_cauchy(size=None)#

Draw samples from a standard Cauchy distribution with mode = 0.

Also known as the Lorentz distribution.

Parameters:

size (int or tuple of ints, optional) – Output shape. If the given shape is, e.g., (m, n, k), then m * n * k samples are drawn. Default is None, in which case a single value is returned.

Returns:

samples – The drawn samples.

Return type:

ndarray or scalar

Availability:

Multiple GPUs, Multiple CPUs