Lines Matching refs:mu
544 def normalvariate(self, mu=0.0, sigma=1.0):
547 mu is the mean, and sigma is the standard deviation.
563 return mu + z * sigma
565 def gauss(self, mu=0.0, sigma=1.0):
568 mu is the mean, and sigma is the standard deviation. This is
581 # (mu = 0, sigma = 1).
601 return mu + z * sigma
603 def lognormvariate(self, mu, sigma):
607 normal distribution with mean mu and standard deviation sigma.
608 mu can have any value, and sigma must be greater than zero.
611 return _exp(self.normalvariate(mu, sigma))
630 def vonmisesvariate(self, mu, kappa):
633 mu is the mean angle, expressed in radians between 0 and 2*pi, and
666 theta = (mu + _acos(f)) % TWOPI
668 theta = (mu - _acos(f)) % TWOPI