Lines Matching refs:__g

3639 generate_canonical(_URNG& __g)
3651 _RealType _Sp = __g() - _URNG::min();
3653 _Sp += (__g() - _URNG::min()) * __base;
3741 result_type operator()(_URNG& __g)
3742 {return (*this)(__g, __p_);}
3743 …template<class _URNG> _LIBCPP_INLINE_VISIBILITY result_type operator()(_URNG& __g, const param_typ…
3775 uniform_real_distribution<_RealType>::operator()(_URNG& __g, const param_type& __p)
3778 * _VSTD::generate_canonical<_RealType, numeric_limits<_RealType>::digits>(__g)
3857 result_type operator()(_URNG& __g)
3858 {return (*this)(__g, __p_);}
3859 …template<class _URNG> _LIBCPP_INLINE_VISIBILITY result_type operator()(_URNG& __g, const param_typ…
3888 bernoulli_distribution::operator()(_URNG& __g, const param_type& __p)
3891 return __gen(__g) < __p.p();
3973 result_type operator()(_URNG& __g)
3974 {return (*this)(__g, __p_);}
3975 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p);
4036 binomial_distribution<_IntType>::operator()(_URNG& __g, const param_type& __pr)
4043 double __u = __gen(__g) - __pr.__pr_;
4148 result_type operator()(_URNG& __g)
4149 {return (*this)(__g, __p_);}
4150 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p);
4179 exponential_distribution<_RealType>::operator()(_URNG& __g, const param_type& __p)
4185 numeric_limits<result_type>::digits>(__g)
4270 result_type operator()(_URNG& __g)
4271 {return (*this)(__g, __p_);}
4272 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p);
4316 normal_distribution<_RealType>::operator()(_URNG& __g, const param_type& __p)
4332 __u = _Uni(__g);
4333 __v = _Uni(__g);
4448 result_type operator()(_URNG& __g)
4449 {return (*this)(__g, __p_);}
4452 result_type operator()(_URNG& __g, const param_type& __p)
4453 {return _VSTD::exp(const_cast<normal_distribution<result_type>&>(__p.__nd_)(__g));}
4566 result_type operator()(_URNG& __g)
4567 {return (*this)(__g, __p_);}
4568 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p);
4642 double __g = __pr.__mean_ + __pr.__s_ * normal_distribution<double>()(__urng);
4644 if (__g > 0)
4646 __x = static_cast<result_type>(__g);
4658 if (__using_exp_dist || __g < 0)
4792 result_type operator()(_URNG& __g)
4793 {return (*this)(__g, __p_);}
4796 result_type operator()(_URNG& __g, const param_type& __p)
4798 _VSTD::pow(exponential_distribution<result_type>()(__g), 1/__p.a());}
4906 result_type operator()(_URNG& __g)
4907 {return (*this)(__g, __p_);}
4908 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p);
4939 extreme_value_distribution<_RealType>::operator()(_URNG& __g, const param_type& __p)
4942 _VSTD::log(-_VSTD::log(1-uniform_real_distribution<result_type>()(__g)));
5027 result_type operator()(_URNG& __g)
5028 {return (*this)(__g, __p_);}
5029 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p);
5060 gamma_distribution<_RealType>::operator()(_URNG& __g, const param_type& __p)
5067 __x = __egen(__g);
5074 const result_type __u = __gen(__g);
5075 const result_type __v = __gen(__g);
5097 const result_type __u = __gen(__g);
5098 const result_type __es = __egen(__g);
5198 result_type operator()(_URNG& __g)
5199 {return (*this)(__g, __p_);}
5200 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p);
5328 result_type operator()(_URNG& __g)
5329 {return (*this)(__g, __p_);}
5332 result_type operator()(_URNG& __g, const param_type& __p)
5333 {return negative_binomial_distribution<result_type>(1, __p.p())(__g);}
5432 result_type operator()(_URNG& __g)
5433 {return (*this)(__g, __p_);}
5436 result_type operator()(_URNG& __g, const param_type& __p)
5437 {return gamma_distribution<result_type>(__p.n() / 2, 2)(__g);}
5542 result_type operator()(_URNG& __g)
5543 {return (*this)(__g, __p_);}
5544 …template<class _URNG> _LIBCPP_INLINE_VISIBILITY result_type operator()(_URNG& __g, const param_typ…
5576 cauchy_distribution<_RealType>::operator()(_URNG& __g, const param_type& __p)
5580 return __p.a() + __p.b() * _VSTD::tan(3.1415926535897932384626433832795 * __gen(__g));
5665 result_type operator()(_URNG& __g)
5666 {return (*this)(__g, __p_);}
5667 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p);
5698 fisher_f_distribution<_RealType>::operator()(_URNG& __g, const param_type& __p)
5702 return __p.n() * __gdm(__g) / (__p.m() * __gdn(__g));
5784 result_type operator()(_URNG& __g)
5785 {return (*this)(__g, __p_);}
5786 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p);
5815 student_t_distribution<_RealType>::operator()(_URNG& __g, const param_type& __p)
5818 return __nd_(__g) * _VSTD::sqrt(__p.n()/__gd(__g));
5937 result_type operator()(_URNG& __g)
5938 {return (*this)(__g, __p_);}
5939 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p);
6036 discrete_distribution<_IntType>::operator()(_URNG& __g, const param_type& __p)
6040 _VSTD::upper_bound(__p.__p_.begin(), __p.__p_.end(), __gen(__g)) -
6176 result_type operator()(_URNG& __g)
6177 {return (*this)(__g, __p_);}
6178 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p);
6336 piecewise_constant_distribution<_RealType>::operator()(_URNG& __g, const param_type& __p)
6339 result_type __u = _Gen()(__g);
6499 result_type operator()(_URNG& __g)
6500 {return (*this)(__g, __p_);}
6501 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p);
6664 piecewise_linear_distribution<_RealType>::operator()(_URNG& __g, const param_type& __p)
6667 result_type __u = _Gen()(__g);