Lines Matching refs:_log
49 from math import log as _log, exp as _exp, pi as _pi, e as _e, ceil as _ceil unknown
96 LOG4 = _log(4.0)
97 SG_MAGICCONST = 1.0 + _log(4.5)
486 setsize += 4 ** _ceil(_log(k * 3, 4)) # table size for big sets
587 if zz <= -_log(u2):
623 g2rad = _sqrt(-2.0 * _log(1.0 - random()))
654 return -_log(1.0 - self.random()) / lambd
733 v = _log(u1 / (1.0 - u1)) / ainv
737 if r + SG_MAGICCONST - 4.5 * z >= 0.0 or r >= _log(z):
742 return -_log(1.0 - random()) * beta
754 x = -_log((b - p) / alpha)
806 return alpha * (-_log(u)) ** (1.0 / beta)