| /freebsd-13-stable/contrib/llvm-project/libcxx/include/__algorithm/ |
| HD | sample.h | 42 _UniformRandomNumberGenerator& __g, in __sample() argument 49 _Distance __r = uniform_int_distribution<_Distance>(0, __k)(__g); in __sample() 67 _UniformRandomNumberGenerator& __g, in __sample() argument 71 _Distance __r = uniform_int_distribution<_Distance>(0, --__unsampled_sz)(__g); in __sample() 91 _UniformRandomNumberGenerator& __g) { in __sample() argument 99 …std::move(__first), std::move(__last), std::move(__output_iter), _CommonType(__n), __g, _PopIterCa… in __sample() 109 _UniformRandomNumberGenerator&& __g) { in sample() argument 114 …mple<_ClassicAlgPolicy>(std::move(__first), std::move(__last), std::move(__output_iter), __n, __g); in sample()
|
| HD | shuffle.h | 103 __rs_default __g = __rs_get(); in random_shuffle() local 105 difference_type __i = __uid(__g, _Pp(0, __d)); in random_shuffle() 136 …le(_RandomAccessIterator __first, _Sentinel __last_sentinel, _UniformRandomNumberGenerator&& __g) { in __shuffle() argument 147 difference_type __i = __uid(__g, _Pp(0, __d)); in __shuffle() 158 …_RandomAccessIterator __first, _RandomAccessIterator __last, _UniformRandomNumberGenerator&& __g) { in shuffle() argument 160 std::move(__first), std::move(__last), std::forward<_UniformRandomNumberGenerator>(__g)); in shuffle()
|
| HD | uniform_random_bit_generator_adaptor.h | 47 _LIBCPP_HIDE_FROM_ABI constexpr explicit _ClassicGenAdaptor(_Gen& __g) : __gen_(__g) {} in _ClassicGenAdaptor() argument
|
| /freebsd-13-stable/contrib/llvm-project/libcxx/include/__random/ |
| HD | gamma_distribution.h | 75 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g) { in operator() 76 return (*this)(__g, __p_); in operator() 79 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g, const param_type& __p); 101 _RealType gamma_distribution<_RealType>::operator()(_URNG& __g, const param_type& __p) { in operator() 108 __x = __egen(__g); in operator() 113 const result_type __u = __gen(__g); in operator() 114 const result_type __v = __gen(__g); in operator() 131 const result_type __u = __gen(__g); in operator() 132 const result_type __es = __egen(__g); in operator()
|
| HD | student_t_distribution.h | 71 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g) { in operator() 72 return (*this)(__g, __p_); in operator() 75 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g, const param_type& __p); 96 _RealType student_t_distribution<_RealType>::operator()(_URNG& __g, const param_type& __p) { in operator() 99 return __nd_(__g) * std::sqrt(__p.n() / __gd(__g)); in operator()
|
| HD | fisher_f_distribution.h | 72 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g) { in operator() 73 return (*this)(__g, __p_); in operator() 76 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g, const param_type& __p); 98 _RealType fisher_f_distribution<_RealType>::operator()(_URNG& __g, const param_type& __p) { in operator() 102 return __p.n() * __gdm(__g) / (__p.m() * __gdn(__g)); in operator()
|
| HD | bernoulli_distribution.h | 63 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g) { in operator() 64 return (*this)(__g, __p_); in operator() 67 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g, const param_type& __p); 87 inline bernoulli_distribution::result_type bernoulli_distribution::operator()(_URNG& __g, const par… in operator() 90 return __gen(__g) < __p.p(); in operator()
|
| HD | exponential_distribution.h | 70 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g) { in operator() 71 return (*this)(__g, __p_); in operator() 74 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g, const param_type& __p); 97 _RealType exponential_distribution<_RealType>::operator()(_URNG& __g, const param_type& __p) { in operator() 99 …(result_type(1) - std::generate_canonical<result_type, numeric_limits<result_type>::digits>(__g)) / in operator()
|
| HD | poisson_distribution.h | 82 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g) { in operator() 83 return (*this)(__g, __p_); in operator() 86 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g, const param_type& __p); 148 double __g = __pr.__mean_ + __pr.__s_ * normal_distribution<double>()(__urng); in operator() local 150 if (__g > 0) { in operator() 151 __tx = std::trunc(__g); in operator() 162 if (__using_exp_dist || __g <= 0) { in operator()
|
| HD | generate_canonical.h | 30 _LIBCPP_HIDE_FROM_ABI _RealType generate_canonical(_URNG& __g) { in generate_canonical() argument 41 _RealType __sp = __g() - _URNG::min(); in generate_canonical() 43 __sp += (__g() - _URNG::min()) * __base; in generate_canonical()
|
| HD | extreme_value_distribution.h | 73 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g) { in operator() 74 return (*this)(__g, __p_); in operator() 77 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g, const param_type& __p); 101 _RealType extreme_value_distribution<_RealType>::operator()(_URNG& __g, const param_type& __p) { in operator() 103 return __p.a() - __p.b() * std::log(-std::log(1 - uniform_real_distribution<result_type>()(__g))); in operator()
|
| HD | uniform_real_distribution.h | 72 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g) { in operator() 73 return (*this)(__g, __p_); in operator() 76 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g, const param_type& __p); 101 uniform_real_distribution<_RealType>::operator()(_URNG& __g, const param_type& __p) { in operator() 103 … - __p.a()) * std::generate_canonical<_RealType, numeric_limits<_RealType>::digits>(__g) + __p.a(); in operator()
|
| HD | cauchy_distribution.h | 73 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g) { in operator() 74 return (*this)(__g, __p_); in operator() 77 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g, const param_type& __p); 99 inline _RealType cauchy_distribution<_RealType>::operator()(_URNG& __g, const param_type& __p) { in operator() 103 return __p.a() + __p.b() * std::tan(3.1415926535897932384626433832795 * __gen(__g)); in operator()
|
| HD | normal_distribution.h | 76 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g) { in operator() 77 return (*this)(__g, __p_); in operator() 80 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g, const param_type& __p); 110 _RealType normal_distribution<_RealType>::operator()(_URNG& __g, const param_type& __p) { in operator() 122 __u = __uni(__g); in operator() 123 __v = __uni(__g); in operator()
|
| HD | chi_squared_distribution.h | 68 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g) { in operator() 69 return (*this)(__g, __p_); in operator() 72 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g, const param_type& __p) { in operator() 73 return gamma_distribution<result_type>(__p.n() / 2, 2)(__g); in operator()
|
| HD | geometric_distribution.h | 67 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g) { in operator() 68 return (*this)(__g, __p_); in operator() 71 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g, const param_type& __p) { in operator() 72 return negative_binomial_distribution<result_type>(1, __p.p())(__g); in operator()
|
| HD | binomial_distribution.h | 76 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g) { in operator() 77 return (*this)(__g, __p_); in operator() 80 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g, const param_type& __p); 128 _IntType binomial_distribution<_IntType>::operator()(_URNG& __g, const param_type& __pr) { in operator() 135 double __u = __gen(__g) - __pr.__pr_; in operator()
|
| HD | weibull_distribution.h | 73 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g) { in operator() 74 return (*this)(__g, __p_); in operator() 77 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g, const param_type& __p) { in operator() 78 return __p.b() * std::pow(exponential_distribution<result_type>()(__g), 1 / __p.a()); in operator()
|
| HD | lognormal_distribution.h | 71 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g) { in operator() 72 return std::exp(__nd_(__g)); in operator() 76 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g, const param_type& __p) { in operator() 78 return std::exp(__nd_(__g, __pn)); in operator()
|
| HD | uniform_int_distribution.h | 182 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g) { in operator() 183 return (*this)(__g, __p_); in operator() 186 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g, const param_type& __p); 211 _URNG& __g, const param_type& __p) _LIBCPP_DISABLE_UBSAN_UNSIGNED_INTEGER_CHECK { in operator() 220 return static_cast<result_type>(_Eng(__g, __dt)()); in operator() 224 _Eng __e(__g, __w); in operator()
|
| HD | discrete_distribution.h | 95 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g) { in operator() 96 return (*this)(__g, __p_); in operator() 99 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g, const param_type& __p); 171 _IntType discrete_distribution<_IntType>::operator()(_URNG& __g, const param_type& __p) { in operator() 174 …return static_cast<_IntType>(std::upper_bound(__p.__p_.begin(), __p.__p_.end(), __gen(__g)) - __p.… in operator()
|
| HD | negative_binomial_distribution.h | 73 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g) { in operator() 74 return (*this)(__g, __p_); in operator() 77 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g, const param_type& __p);
|
| HD | piecewise_constant_distribution.h | 108 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g) { in operator() 109 return (*this)(__g, __p_); in operator() 112 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g, const param_type& __p); 238 _RealType piecewise_constant_distribution<_RealType>::operator()(_URNG& __g, const param_type& __p)… in operator() 241 result_type __u = _Gen()(__g); in operator()
|
| /freebsd-13-stable/contrib/llvm-project/libcxx/include/experimental/__simd/ |
| HD | vec_ext.h | 69 …static _LIBCPP_HIDE_FROM_ABI _SimdStorage __generate_init(_Generator&& __g, std::index_sequence<_I… 70 return _SimdStorage{{__g(std::integral_constant<size_t, _Is>())...}}; 74 static _LIBCPP_HIDE_FROM_ABI _SimdStorage __generate(_Generator&& __g) noexcept { 75 return __generate_init(std::forward<_Generator>(__g), std::make_index_sequence<_Np>());
|
| HD | scalar.h | 57 static _LIBCPP_HIDE_FROM_ABI _SimdStorage __generate(_Generator&& __g) noexcept { 58 return {__g(std::integral_constant<size_t, 0>())};
|