Lines Matching refs:__g
3668 generate_canonical(_URNG& __g)
3680 _RealType _Sp = __g() - _URNG::min();
3682 _Sp += (__g() - _URNG::min()) * __base;
3772 result_type operator()(_URNG& __g)
3773 {return (*this)(__g, __p_);}
3774 …template<class _URNG> _LIBCPP_INLINE_VISIBILITY result_type operator()(_URNG& __g, const param_typ…
3806 uniform_real_distribution<_RealType>::operator()(_URNG& __g, const param_type& __p)
3809 * _VSTD::generate_canonical<_RealType, numeric_limits<_RealType>::digits>(__g)
3890 result_type operator()(_URNG& __g)
3891 {return (*this)(__g, __p_);}
3892 …template<class _URNG> _LIBCPP_INLINE_VISIBILITY result_type operator()(_URNG& __g, const param_typ…
3921 bernoulli_distribution::operator()(_URNG& __g, const param_type& __p)
3924 return __gen(__g) < __p.p();
4008 result_type operator()(_URNG& __g)
4009 {return (*this)(__g, __p_);}
4010 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p);
4071 binomial_distribution<_IntType>::operator()(_URNG& __g, const param_type& __pr)
4078 double __u = __gen(__g) - __pr.__pr_;
4190 result_type operator()(_URNG& __g)
4191 {return (*this)(__g, __p_);}
4192 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p);
4221 exponential_distribution<_RealType>::operator()(_URNG& __g, const param_type& __p)
4227 numeric_limits<result_type>::digits>(__g)
4314 result_type operator()(_URNG& __g)
4315 {return (*this)(__g, __p_);}
4316 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p);
4360 normal_distribution<_RealType>::operator()(_URNG& __g, const param_type& __p)
4376 __u = _Uni(__g);
4377 __v = _Uni(__g);
4494 result_type operator()(_URNG& __g)
4495 {return (*this)(__g, __p_);}
4498 result_type operator()(_URNG& __g, const param_type& __p)
4499 {return _VSTD::exp(const_cast<normal_distribution<result_type>&>(__p.__nd_)(__g));}
4612 result_type operator()(_URNG& __g)
4613 {return (*this)(__g, __p_);}
4614 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p);
4691 double __g = __pr.__mean_ + __pr.__s_ * normal_distribution<double>()(__urng);
4693 if (__g > 0)
4695 __tx = _VSTD::trunc(__g);
4707 if (__using_exp_dist || __g <= 0)
4843 result_type operator()(_URNG& __g)
4844 {return (*this)(__g, __p_);}
4847 result_type operator()(_URNG& __g, const param_type& __p)
4849 _VSTD::pow(exponential_distribution<result_type>()(__g), 1/__p.a());}
4959 result_type operator()(_URNG& __g)
4960 {return (*this)(__g, __p_);}
4961 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p);
4992 extreme_value_distribution<_RealType>::operator()(_URNG& __g, const param_type& __p)
4995 _VSTD::log(-_VSTD::log(1-uniform_real_distribution<result_type>()(__g)));
5082 result_type operator()(_URNG& __g)
5083 {return (*this)(__g, __p_);}
5084 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p);
5115 gamma_distribution<_RealType>::operator()(_URNG& __g, const param_type& __p)
5122 __x = __egen(__g);
5129 const result_type __u = __gen(__g);
5130 const result_type __v = __gen(__g);
5152 const result_type __u = __gen(__g);
5153 const result_type __es = __egen(__g);
5255 result_type operator()(_URNG& __g)
5256 {return (*this)(__g, __p_);}
5257 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p);
5387 result_type operator()(_URNG& __g)
5388 {return (*this)(__g, __p_);}
5391 result_type operator()(_URNG& __g, const param_type& __p)
5392 {return negative_binomial_distribution<result_type>(1, __p.p())(__g);}
5493 result_type operator()(_URNG& __g)
5494 {return (*this)(__g, __p_);}
5497 result_type operator()(_URNG& __g, const param_type& __p)
5498 {return gamma_distribution<result_type>(__p.n() / 2, 2)(__g);}
5605 result_type operator()(_URNG& __g)
5606 {return (*this)(__g, __p_);}
5607 …template<class _URNG> _LIBCPP_INLINE_VISIBILITY result_type operator()(_URNG& __g, const param_typ…
5639 cauchy_distribution<_RealType>::operator()(_URNG& __g, const param_type& __p)
5643 return __p.a() + __p.b() * _VSTD::tan(3.1415926535897932384626433832795 * __gen(__g));
5730 result_type operator()(_URNG& __g)
5731 {return (*this)(__g, __p_);}
5732 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p);
5763 fisher_f_distribution<_RealType>::operator()(_URNG& __g, const param_type& __p)
5767 return __p.n() * __gdm(__g) / (__p.m() * __gdn(__g));
5851 result_type operator()(_URNG& __g)
5852 {return (*this)(__g, __p_);}
5853 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p);
5882 student_t_distribution<_RealType>::operator()(_URNG& __g, const param_type& __p)
5885 return __nd_(__g) * _VSTD::sqrt(__p.n()/__gd(__g));
6006 result_type operator()(_URNG& __g)
6007 {return (*this)(__g, __p_);}
6008 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p);
6105 discrete_distribution<_IntType>::operator()(_URNG& __g, const param_type& __p)
6109 _VSTD::upper_bound(__p.__p_.begin(), __p.__p_.end(), __gen(__g)) -
6248 result_type operator()(_URNG& __g)
6249 {return (*this)(__g, __p_);}
6250 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p);
6408 piecewise_constant_distribution<_RealType>::operator()(_URNG& __g, const param_type& __p)
6411 result_type __u = _Gen()(__g);
6574 result_type operator()(_URNG& __g)
6575 {return (*this)(__g, __p_);}
6576 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p);
6739 piecewise_linear_distribution<_RealType>::operator()(_URNG& __g, const param_type& __p)
6742 result_type __u = _Gen()(__g);