coba.random.gausses

coba.random.gausses(n: int, mu: float = 0, sigma: float = 1) Sequence[float]

Generate n independent random numbers from N(mu,sigma).

Parameters:
  • n – How many random numbers should be generated

  • mu – The expectation of the distribution we are drawing from.

  • sigma – The standard deviation of the distribution we are drawing form.

Returns:

The n random numbers drawn from N(mu,sigma).