parameters: (self, n, *, seed=None)
return_statement: return [gauss(mu, sigma) for i in range(n)]
docstring: Generate *n* samples for a given mean and standard deviation.
docstring_summary: Generate *n* samples for a given mean and standard deviation.
docstring_tokens: Generate * n * samples for a given mean and standard deviation .
function: def samples(self, n, *, seed=None):
          "Generate *n* samples for a given mean and standard deviation."
          gauss = random.gauss if seed is None else random.Random(seed).gauss
          mu, sigma = self._mu, self._sigma
          return [gauss(mu, sigma) for i in range(n)]
function_tokens: def samples ( self , n , * , seed = None ) : gauss = random . gauss if seed is None else random . Random ( seed ) . gauss mu , sigma = self . _mu , self . _sigma return [ gauss ( mu , sigma ) for i in range ( n ) ]