brainpy.math.random.loggamma#
- brainpy.math.random.loggamma(a, size=None, key=None)[source]#
Sample log-gamma random values.
- Parameters:
a (float, array_like) – A float or array of floats broadcast-compatible with shape representing the parameter of the distribution.
size (optional, int, tuple of int) – A tuple of nonnegative integers specifying the result shape. Must be broadcast-compatible with a. The default (None) produces a result shape equal to a.shape.
- Returns:
out – The sampled results.
- Return type:
array_like