dpnp.random.standard_gamma

dpnp.random.standard_gamma(shape, size=None)[source]

Draw samples from a standard Gamma distribution.

For full documentation refer to numpy.random.standard_gamma.

Limitations

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

Examples

Draw samples from the distribution:

>>> shape = 2.
>>> s = dpnp.random.standard_gamma(shape, 1000000)