gamma#
- named_arrays.random.gamma(shape, scale=1, shape_random=None, seed=None)#
Draw samples from a gamma distribution.
- Parameters:
shape (ShapeT) – The shape parameter of the distribution.
scale (ScaleT) – The scale parameter of the distribution.
shape_random (None | dict[str, int]) – Additional dimensions to be broadcast against shape and scale.
seed (None | int) – Optional seed for the random number generator, can be provided for repeatability.
- Return type:
ShapeT | ScaleT
See also
numpy.random.gamma()Equivalent numpy function