mtalg.random.standard_gamma
- standard_gamma(shape: ~numbers.Number, size: int | tuple | None = None, dtype=<class 'numpy.float64'>) ndarray | Number[source]
Draw from a standard gamma distribution.
- Parameters:
shape – Parameter, must be non-negative.
size – Output shape.
dtype – Dtype of output array.
- Returns:
numpy.ndarray or scalar.