Lines Matching refs:_log
49 from math import log as _log, exp as _exp, pi as _pi, e as _e, ceil as _ceil unknown
94 LOG4 = _log(4.0)
95 SG_MAGICCONST = 1.0 + _log(4.5)
453 setsize += 4 ** _ceil(_log(k * 3, 4)) # table size for big sets
544 if zz <= -_log(u2):
580 g2rad = _sqrt(-2.0 * _log(1.0 - random()))
611 return -_log(1.0 - self.random()) / lambd
690 v = _log(u1 / (1.0 - u1)) / ainv
694 if r + SG_MAGICCONST - 4.5 * z >= 0.0 or r >= _log(z):
699 return -_log(1.0 - random()) * beta
711 x = -_log((b - p) / alpha)
763 return alpha * (-_log(u)) ** (1.0 / beta)