Lines Matching refs:__pr
4015 binomial_distribution<_IntType>::operator()(_URNG& __g, const param_type& __pr)
4017 if (__pr.__t_ == 0 || __pr.__p_ == 0)
4019 if (__pr.__p_ == 1)
4020 return __pr.__t_;
4022 double __u = __gen(__g) - __pr.__pr_;
4024 return __pr.__r0_;
4025 double __pu = __pr.__pr_;
4027 result_type __ru = __pr.__r0_;
4033 __pd *= __rd / (__pr.__odds_ratio_ * (__pr.__t_ - __rd + 1));
4040 if (__ru <= __pr.__t_)
4042 __pu *= (__pr.__t_ - __ru + 1) * __pr.__odds_ratio_ / __ru;
4607 poisson_distribution<_IntType>::operator()(_URNG& __urng, const param_type& __pr)
4611 if (__pr.__mean_ < 10)
4614 for (double __p = __urd(__urng); __p > __pr.__l_; ++__x)
4620 double __g = __pr.__mean_ + __pr.__s_ * normal_distribution<double>()(__urng);
4625 if (__x >= __pr.__l_)
4627 __difmuk = __pr.__mean_ - __x;
4629 if (__pr.__d_ * __u >= __difmuk * __difmuk * __difmuk)
4646 __x = __pr.__mean_ + __pr.__s_ * __t;
4647 __difmuk = __pr.__mean_ - __x;
4656 __px = -__pr.__mean_;
4657 __py = _VSTD::pow(__pr.__mean_, (double)__x) / __fac[__x];
4672 double __r = (0.5 - __difmuk) / __pr.__s_;
4675 double __fy = __pr.__omega_ * (((__pr.__c3_ * __r2 + __pr.__c2_) *
4676 __r2 + __pr.__c1_) * __r2 + __pr.__c0_);
4679 if (__pr.__c_ * _VSTD::abs(__u) <= __py * _VSTD::exp(__px + __e) -
5209 negative_binomial_distribution<_IntType>::operator()(_URNG& __urng, const param_type& __pr)
5211 result_type __k = __pr.k();
5212 double __p = __pr.p();