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);
4628 double __g = __pr.__mean_ + __pr.__s_ * normal_distribution<double>()(__urng);
4630 if (__g > 0)
4632 __tx = std::trunc(__g);
4644 if (__using_exp_dist || __g <= 0)
4778 result_type operator()(_URNG& __g)
4779 {return (*this)(__g, __p_);}
4782 result_type operator()(_URNG& __g, const param_type& __p)
4784 _VSTD::pow(exponential_distribution<result_type>()(__g), 1/__p.a());}
4892 result_type operator()(_URNG& __g)
4893 {return (*this)(__g, __p_);}
4894 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p);
4925 extreme_value_distribution<_RealType>::operator()(_URNG& __g, const param_type& __p)
4928 _VSTD::log(-_VSTD::log(1-uniform_real_distribution<result_type>()(__g)));
5013 result_type operator()(_URNG& __g)
5014 {return (*this)(__g, __p_);}
5015 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p);
5046 gamma_distribution<_RealType>::operator()(_URNG& __g, const param_type& __p)
5053 __x = __egen(__g);
5060 const result_type __u = __gen(__g);
5061 const result_type __v = __gen(__g);
5083 const result_type __u = __gen(__g);
5084 const result_type __es = __egen(__g);
5184 result_type operator()(_URNG& __g)
5185 {return (*this)(__g, __p_);}
5186 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p);
5314 result_type operator()(_URNG& __g)
5315 {return (*this)(__g, __p_);}
5318 result_type operator()(_URNG& __g, const param_type& __p)
5319 {return negative_binomial_distribution<result_type>(1, __p.p())(__g);}
5418 result_type operator()(_URNG& __g)
5419 {return (*this)(__g, __p_);}
5422 result_type operator()(_URNG& __g, const param_type& __p)
5423 {return gamma_distribution<result_type>(__p.n() / 2, 2)(__g);}
5528 result_type operator()(_URNG& __g)
5529 {return (*this)(__g, __p_);}
5530 …template<class _URNG> _LIBCPP_INLINE_VISIBILITY result_type operator()(_URNG& __g, const param_typ…
5562 cauchy_distribution<_RealType>::operator()(_URNG& __g, const param_type& __p)
5566 return __p.a() + __p.b() * _VSTD::tan(3.1415926535897932384626433832795 * __gen(__g));
5651 result_type operator()(_URNG& __g)
5652 {return (*this)(__g, __p_);}
5653 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p);
5684 fisher_f_distribution<_RealType>::operator()(_URNG& __g, const param_type& __p)
5688 return __p.n() * __gdm(__g) / (__p.m() * __gdn(__g));
5770 result_type operator()(_URNG& __g)
5771 {return (*this)(__g, __p_);}
5772 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p);
5801 student_t_distribution<_RealType>::operator()(_URNG& __g, const param_type& __p)
5804 return __nd_(__g) * _VSTD::sqrt(__p.n()/__gd(__g));
5923 result_type operator()(_URNG& __g)
5924 {return (*this)(__g, __p_);}
5925 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p);
6022 discrete_distribution<_IntType>::operator()(_URNG& __g, const param_type& __p)
6026 _VSTD::upper_bound(__p.__p_.begin(), __p.__p_.end(), __gen(__g)) -
6162 result_type operator()(_URNG& __g)
6163 {return (*this)(__g, __p_);}
6164 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p);
6322 piecewise_constant_distribution<_RealType>::operator()(_URNG& __g, const param_type& __p)
6325 result_type __u = _Gen()(__g);
6485 result_type operator()(_URNG& __g)
6486 {return (*this)(__g, __p_);}
6487 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p);
6650 piecewise_linear_distribution<_RealType>::operator()(_URNG& __g, const param_type& __p)
6653 result_type __u = _Gen()(__g);