Lines Matching refs:__g

3636 generate_canonical(_URNG& __g)
3648 _RealType _Sp = __g() - _URNG::min();
3650 _Sp += (__g() - _URNG::min()) * __base;
3738 result_type operator()(_URNG& __g)
3739 {return (*this)(__g, __p_);}
3740 …template<class _URNG> _LIBCPP_INLINE_VISIBILITY result_type operator()(_URNG& __g, const param_typ…
3772 uniform_real_distribution<_RealType>::operator()(_URNG& __g, const param_type& __p)
3775 * _VSTD::generate_canonical<_RealType, numeric_limits<_RealType>::digits>(__g)
3854 result_type operator()(_URNG& __g)
3855 {return (*this)(__g, __p_);}
3856 …template<class _URNG> _LIBCPP_INLINE_VISIBILITY result_type operator()(_URNG& __g, const param_typ…
3885 bernoulli_distribution::operator()(_URNG& __g, const param_type& __p)
3888 return __gen(__g) < __p.p();
3970 result_type operator()(_URNG& __g)
3971 {return (*this)(__g, __p_);}
3972 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p);
4019 binomial_distribution<_IntType>::operator()(_URNG& __g, const param_type& __pr)
4026 double __u = __gen(__g) - __pr.__pr_;
4131 result_type operator()(_URNG& __g)
4132 {return (*this)(__g, __p_);}
4133 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p);
4162 exponential_distribution<_RealType>::operator()(_URNG& __g, const param_type& __p)
4168 numeric_limits<result_type>::digits>(__g)
4253 result_type operator()(_URNG& __g)
4254 {return (*this)(__g, __p_);}
4255 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p);
4299 normal_distribution<_RealType>::operator()(_URNG& __g, const param_type& __p)
4315 __u = _Uni(__g);
4316 __v = _Uni(__g);
4431 result_type operator()(_URNG& __g)
4432 {return (*this)(__g, __p_);}
4435 result_type operator()(_URNG& __g, const param_type& __p)
4436 {return _VSTD::exp(const_cast<normal_distribution<result_type>&>(__p.__nd_)(__g));}
4549 result_type operator()(_URNG& __g)
4550 {return (*this)(__g, __p_);}
4551 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p);
4625 double __g = __pr.__mean_ + __pr.__s_ * normal_distribution<double>()(__urng);
4627 if (__g > 0)
4629 __x = static_cast<result_type>(__g);
4641 if (__using_exp_dist || __g < 0)
4775 result_type operator()(_URNG& __g)
4776 {return (*this)(__g, __p_);}
4779 result_type operator()(_URNG& __g, const param_type& __p)
4781 _VSTD::pow(exponential_distribution<result_type>()(__g), 1/__p.a());}
4889 result_type operator()(_URNG& __g)
4890 {return (*this)(__g, __p_);}
4891 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p);
4922 extreme_value_distribution<_RealType>::operator()(_URNG& __g, const param_type& __p)
4925 _VSTD::log(-_VSTD::log(1-uniform_real_distribution<result_type>()(__g)));
5010 result_type operator()(_URNG& __g)
5011 {return (*this)(__g, __p_);}
5012 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p);
5043 gamma_distribution<_RealType>::operator()(_URNG& __g, const param_type& __p)
5050 __x = __egen(__g);
5057 const result_type __u = __gen(__g);
5058 const result_type __v = __gen(__g);
5080 const result_type __u = __gen(__g);
5081 const result_type __es = __egen(__g);
5181 result_type operator()(_URNG& __g)
5182 {return (*this)(__g, __p_);}
5183 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p);
5311 result_type operator()(_URNG& __g)
5312 {return (*this)(__g, __p_);}
5315 result_type operator()(_URNG& __g, const param_type& __p)
5316 {return negative_binomial_distribution<result_type>(1, __p.p())(__g);}
5415 result_type operator()(_URNG& __g)
5416 {return (*this)(__g, __p_);}
5419 result_type operator()(_URNG& __g, const param_type& __p)
5420 {return gamma_distribution<result_type>(__p.n() / 2, 2)(__g);}
5525 result_type operator()(_URNG& __g)
5526 {return (*this)(__g, __p_);}
5527 …template<class _URNG> _LIBCPP_INLINE_VISIBILITY result_type operator()(_URNG& __g, const param_typ…
5559 cauchy_distribution<_RealType>::operator()(_URNG& __g, const param_type& __p)
5563 return __p.a() + __p.b() * _VSTD::tan(3.1415926535897932384626433832795 * __gen(__g));
5648 result_type operator()(_URNG& __g)
5649 {return (*this)(__g, __p_);}
5650 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p);
5681 fisher_f_distribution<_RealType>::operator()(_URNG& __g, const param_type& __p)
5685 return __p.n() * __gdm(__g) / (__p.m() * __gdn(__g));
5767 result_type operator()(_URNG& __g)
5768 {return (*this)(__g, __p_);}
5769 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p);
5798 student_t_distribution<_RealType>::operator()(_URNG& __g, const param_type& __p)
5801 return __nd_(__g) * _VSTD::sqrt(__p.n()/__gd(__g));
5920 result_type operator()(_URNG& __g)
5921 {return (*this)(__g, __p_);}
5922 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p);
6019 discrete_distribution<_IntType>::operator()(_URNG& __g, const param_type& __p)
6023 _VSTD::upper_bound(__p.__p_.begin(), __p.__p_.end(), __gen(__g)) -
6159 result_type operator()(_URNG& __g)
6160 {return (*this)(__g, __p_);}
6161 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p);
6319 piecewise_constant_distribution<_RealType>::operator()(_URNG& __g, const param_type& __p)
6322 result_type __u = _Gen()(__g);
6482 result_type operator()(_URNG& __g)
6483 {return (*this)(__g, __p_);}
6484 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p);
6647 piecewise_linear_distribution<_RealType>::operator()(_URNG& __g, const param_type& __p)
6650 result_type __u = _Gen()(__g);