t#
- class brainpy.math.random.t(df, size=None, key=None)[source]#
Sample Student’s t random values.
- Parameters:
df (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 non-negative integers specifying the result shape. Must be broadcast-compatible with df. The default (None) produces a result shape equal to df.shape.
- Returns:
out – The sampled value.
- Return type:
array_like