Lines Matching refs:mu
380 def normalvariate(self, mu, sigma):
383 mu is the mean, and sigma is the standard deviation.
386 # mu = mean, sigma = standard deviation
401 return mu + z*sigma
405 def lognormvariate(self, mu, sigma):
409 normal distribution with mean mu and standard deviation sigma.
410 mu can have any value, and sigma must be greater than zero.
413 return _exp(self.normalvariate(mu, sigma))
436 def vonmisesvariate(self, mu, kappa):
439 mu is the mean angle, expressed in radians between 0 and 2*pi, and
445 # mu: mean angle (in radians between 0 and 2*pi)
476 theta = (mu + _acos(f)) % TWOPI
478 theta = (mu - _acos(f)) % TWOPI
556 def gauss(self, mu, sigma):
559 mu is the mean, and sigma is the standard deviation. This is
573 # (mu = 0, sigma = 1).
593 return mu + z*sigma