Lines Matching refs:__x
1681 static result_type next(result_type __x)
1686 const result_type __t0 = __a * (__x % __q);
1687 const result_type __t1 = __r * (__x / __q);
1688 __x = __t0 + (__t0 < __t1) * __m - __t1;
1689 __x += __c - (__x >= __m - __c) * __m;
1690 return __x;
1699 static result_type next(result_type __x)
1704 const result_type __t0 = __a * (__x % __q);
1705 const result_type __t1 = __r * (__x / __q);
1706 __x = __t0 + (__t0 < __t1) * __m - __t1;
1707 return __x;
1716 static result_type next(result_type __x)
1718 return (__a * __x + __c) % __m;
1727 static result_type next(result_type __x)
1729 return __a * __x + __c;
1740 static result_type next(result_type __x)
1748 const result_type __t0 = __a * (__x % __q);
1749 const result_type __t1 = __r * (__x / __q);
1750 __x = __t0 + (__t0 < __t1) * __m - __t1;
1751 __x += __c - (__x >= __m - __c) * __m;
1752 return __x;
1761 static result_type next(result_type __x)
1768 const result_type __t0 = __a * (__x % __q);
1769 const result_type __t1 = __r * (__x / __q);
1770 __x = __t0 + (__t0 < __t1) * __m - __t1;
1771 return __x;
1780 static result_type next(result_type __x)
1785 return (__a * __x + __c) % __m;
1794 static result_type next(result_type __x)
1798 return __a * __x + __c;
1809 static result_type next(result_type __x)
1811 return static_cast<result_type>(__lce_ta<__a, __c, __m, unsigned(~0)>::next(__x));
1829 linear_congruential_engine<_Up, _Ap, _Cp, _Np>& __x);
1893 bool operator==(const linear_congruential_engine& __x,
1895 {return __x.__x_ == __y.__x_;}
1897 bool operator!=(const linear_congruential_engine& __x,
1899 {return !(__x == __y);}
1930 linear_congruential_engine<_Up, _Ap, _Cp, _Np>& __x);
1981 const linear_congruential_engine<_UIntType, __a, __c, __m>& __x)
1986 return __os << __x.__x_;
1993 linear_congruential_engine<_UIntType, __a, __c, __m>& __x)
2000 __x.__x_ = __t;
2021 _Bp, _Tp, _Cp, _Lp, _Fp>& __x,
2031 _Bp, _Tp, _Cp, _Lp, _Fp>& __x,
2042 _Bp, _Tp, _Cp, _Lp, _Fp>& __x);
2051 _Bp, _Tp, _Cp, _Lp, _Fp>& __x);
2138 _Bp, _Tp, _Cp, _Lp, _Fp>& __x,
2148 _Bp, _Tp, _Cp, _Lp, _Fp>& __x,
2160 _Bp, _Tp, _Cp, _Lp, _Fp>& __x);
2170 _Bp, _Tp, _Cp, _Lp, _Fp>& __x);
2186 __lshift(result_type __x) {return (__x << __count) & _Max;}
2206 __rshift(result_type __x) {return __x >> __count;}
2392 _Bp, _Tp, _Cp, _Lp, _Fp>& __x,
2396 if (__x.__i_ == __y.__i_)
2397 return _VSTD::equal(__x.__x_, __x.__x_ + _Np, __y.__x_);
2398 if (__x.__i_ == 0 || __y.__i_ == 0)
2400 size_t __j = _VSTD::min(_Np - __x.__i_, _Np - __y.__i_);
2401 if (!_VSTD::equal(__x.__x_ + __x.__i_, __x.__x_ + __x.__i_ + __j,
2404 if (__x.__i_ == 0)
2405 return _VSTD::equal(__x.__x_ + __j, __x.__x_ + _Np, __y.__x_);
2406 return _VSTD::equal(__x.__x_, __x.__x_ + (_Np - __j), __y.__x_ + __j);
2408 if (__x.__i_ < __y.__i_)
2411 if (!_VSTD::equal(__x.__x_ + __x.__i_, __x.__x_ + (__x.__i_ + __j),
2414 if (!_VSTD::equal(__x.__x_ + (__x.__i_ + __j), __x.__x_ + _Np,
2417 return _VSTD::equal(__x.__x_, __x.__x_ + __x.__i_,
2418 __y.__x_ + (_Np - (__x.__i_ + __j)));
2420 size_t __j = _Np - __x.__i_;
2422 __x.__x_ + __x.__i_))
2425 __x.__x_))
2428 __x.__x_ + (_Np - (__y.__i_ + __j)));
2437 _Bp, _Tp, _Cp, _Lp, _Fp>& __x,
2441 return !(__x == __y);
2451 _Bp, _Tp, _Cp, _Lp, _Fp>& __x)
2457 __os << __x.__x_[__x.__i_];
2458 for (size_t __j = __x.__i_ + 1; __j < _Np; ++__j)
2459 __os << __sp << __x.__x_[__j];
2460 for (size_t __j = 0; __j < __x.__i_; ++__j)
2461 __os << __sp << __x.__x_[__j];
2472 _Bp, _Tp, _Cp, _Lp, _Fp>& __x)
2482 __x.__x_[__i] = __t[__i];
2483 __x.__i_ = 0;
2507 const subtract_with_carry_engine<_UI, _Wp, _Sp, _Rp>& __x,
2514 const subtract_with_carry_engine<_UI, _Wp, _Sp, _Rp>& __x,
2521 const subtract_with_carry_engine<_UI, _Wp, _Sp, _Rp>& __x);
2527 subtract_with_carry_engine<_UI, _Wp, _Sp, _Rp>& __x);
2593 const subtract_with_carry_engine<_UI, _Wp, _Sp, _Rp>& __x,
2600 const subtract_with_carry_engine<_UI, _Wp, _Sp, _Rp>& __x,
2608 const subtract_with_carry_engine<_UI, _Wp, _Sp, _Rp>& __x);
2615 subtract_with_carry_engine<_UI, _Wp, _Sp, _Rp>& __x);
2717 const subtract_with_carry_engine<_UI, _Wp, _Sp, _Rp>& __x,
2720 if (__x.__c_ != __y.__c_)
2722 if (__x.__i_ == __y.__i_)
2723 return _VSTD::equal(__x.__x_, __x.__x_ + _Rp, __y.__x_);
2724 if (__x.__i_ == 0 || __y.__i_ == 0)
2726 size_t __j = _VSTD::min(_Rp - __x.__i_, _Rp - __y.__i_);
2727 if (!_VSTD::equal(__x.__x_ + __x.__i_, __x.__x_ + __x.__i_ + __j,
2730 if (__x.__i_ == 0)
2731 return _VSTD::equal(__x.__x_ + __j, __x.__x_ + _Rp, __y.__x_);
2732 return _VSTD::equal(__x.__x_, __x.__x_ + (_Rp - __j), __y.__x_ + __j);
2734 if (__x.__i_ < __y.__i_)
2737 if (!_VSTD::equal(__x.__x_ + __x.__i_, __x.__x_ + (__x.__i_ + __j),
2740 if (!_VSTD::equal(__x.__x_ + (__x.__i_ + __j), __x.__x_ + _Rp,
2743 return _VSTD::equal(__x.__x_, __x.__x_ + __x.__i_,
2744 __y.__x_ + (_Rp - (__x.__i_ + __j)));
2746 size_t __j = _Rp - __x.__i_;
2748 __x.__x_ + __x.__i_))
2751 __x.__x_))
2754 __x.__x_ + (_Rp - (__y.__i_ + __j)));
2761 const subtract_with_carry_engine<_UI, _Wp, _Sp, _Rp>& __x,
2764 return !(__x == __y);
2771 const subtract_with_carry_engine<_UI, _Wp, _Sp, _Rp>& __x)
2777 __os << __x.__x_[__x.__i_];
2778 for (size_t __j = __x.__i_ + 1; __j < _Rp; ++__j)
2779 __os << __sp << __x.__x_[__j];
2780 for (size_t __j = 0; __j < __x.__i_; ++__j)
2781 __os << __sp << __x.__x_[__j];
2782 __os << __sp << __x.__c_;
2790 subtract_with_carry_engine<_UI, _Wp, _Sp, _Rp>& __x)
2800 __x.__x_[__i] = __t[__i];
2801 __x.__c_ = __t[_Rp];
2802 __x.__i_ = 0;
2886 const discard_block_engine<_Eng, _Pp, _Rp>& __x,
2893 const discard_block_engine<_Eng, _Pp, _Rp>& __x,
2901 const discard_block_engine<_Eng, _Pp, _Rp>& __x);
2908 discard_block_engine<_Eng, _Pp, _Rp>& __x);
2933 operator==(const discard_block_engine<_Eng, _Pp, _Rp>& __x,
2936 return __x.__n_ == __y.__n_ && __x.__e_ == __y.__e_;
2942 operator!=(const discard_block_engine<_Eng, _Pp, _Rp>& __x,
2945 return !(__x == __y);
2952 const discard_block_engine<_Eng, _Pp, _Rp>& __x)
2958 return __os << __x.__e_ << __sp << __x.__n_;
2965 discard_block_engine<_Eng, _Pp, _Rp>& __x)
2974 __x.__e_ = __e;
2975 __x.__n_ = __n;
3097 const independent_bits_engine<_Eng, _Wp, _UI>& __x,
3104 const independent_bits_engine<_Eng, _Wp, _UI>& __x,
3112 const independent_bits_engine<_Eng, _Wp, _UI>& __x);
3119 independent_bits_engine<_Eng, _Wp, _UI>& __x);
3133 __lshift(result_type __x) {return __x << __count;}
3184 const independent_bits_engine<_Eng, _Wp, _UI>& __x,
3187 return __x.base() == __y.base();
3194 const independent_bits_engine<_Eng, _Wp, _UI>& __x,
3197 return !(__x == __y);
3204 const independent_bits_engine<_Eng, _Wp, _UI>& __x)
3206 return __os << __x.base();
3213 independent_bits_engine<_Eng, _Wp, _UI>& __x)
3218 __x.__e_ = __e;
3327 const shuffle_order_engine<_Eng, _Kp>& __x,
3334 const shuffle_order_engine<_Eng, _Kp>& __x,
3342 const shuffle_order_engine<_Eng, _Kp>& __x);
3349 shuffle_order_engine<_Eng, _Kp>& __x);
3415 const shuffle_order_engine<_Eng, _Kp>& __x,
3418 return __x._Y_ == __y._Y_ && _VSTD::equal(__x._V_, __x._V_ + _Kp, __y._V_) &&
3419 __x.__e_ == __y.__e_;
3426 const shuffle_order_engine<_Eng, _Kp>& __x,
3429 return !(__x == __y);
3436 const shuffle_order_engine<_Eng, _Kp>& __x)
3442 __os << __x.__e_ << __sp << __x._V_[0];
3444 __os << __sp << __x._V_[__i];
3445 return __os << __sp << __x._Y_;
3452 shuffle_order_engine<_Eng, _Kp>& __x)
3464 __x.__e_ = __e;
3466 __x._V_[__i] = _Vp[__i];
3467 __x._Y_ = _Vp[_Kp];
3556 static result_type _Tp(result_type __x) {return __x ^ (__x >> 27);}
3659 const uniform_int_distribution<_IT>& __x)
3665 return __os << __x.a() << __sp << __x.b();
3671 uniform_int_distribution<_IT>& __x)
3682 __x.param(param_type(__a, __b));
3713 bool operator==(const param_type& __x, const param_type& __y)
3714 {return __x.__a_ == __y.__a_ && __x.__b_ == __y.__b_;}
3716 bool operator!=(const param_type& __x, const param_type& __y)
3717 {return !(__x == __y);}
3757 bool operator==(const uniform_real_distribution& __x,
3759 {return __x.__p_ == __y.__p_;}
3761 bool operator!=(const uniform_real_distribution& __x,
3763 {return !(__x == __y);}
3780 const uniform_real_distribution<_RT>& __x)
3787 return __os << __x.a() << __sp << __x.b();
3793 uniform_real_distribution<_RT>& __x)
3804 __x.param(param_type(__a, __b));
3829 bool operator==(const param_type& __x, const param_type& __y)
3830 {return __x.__p_ == __y.__p_;}
3832 bool operator!=(const param_type& __x, const param_type& __y)
3833 {return !(__x == __y);}
3871 bool operator==(const bernoulli_distribution& __x,
3873 {return __x.__p_ == __y.__p_;}
3875 bool operator!=(const bernoulli_distribution& __x,
3877 {return !(__x == __y);}
3891 operator<<(basic_ostream<_CharT, _Traits>& __os, const bernoulli_distribution& __x)
3898 return __os << __x.p();
3903 operator>>(basic_istream<_CharT, _Traits>& __is, bernoulli_distribution& __x)
3912 __x.param(param_type(__p));
3943 bool operator==(const param_type& __x, const param_type& __y)
3944 {return __x.__t_ == __y.__t_ && __x.__p_ == __y.__p_;}
3946 bool operator!=(const param_type& __x, const param_type& __y)
3947 {return !(__x == __y);}
3989 bool operator==(const binomial_distribution& __x,
3991 {return __x.__p_ == __y.__p_;}
3993 bool operator!=(const binomial_distribution& __x,
3995 {return !(__x == __y);}
4056 const binomial_distribution<_IntType>& __x)
4063 return __os << __x.t() << __sp << __x.p();
4069 binomial_distribution<_IntType>& __x)
4080 __x.param(param_type(__t, __p));
4106 bool operator==(const param_type& __x, const param_type& __y)
4107 {return __x.__lambda_ == __y.__lambda_;}
4109 bool operator!=(const param_type& __x, const param_type& __y)
4110 {return !(__x == __y);}
4148 bool operator==(const exponential_distribution& __x,
4150 {return __x.__p_ == __y.__p_;}
4152 bool operator!=(const exponential_distribution& __x,
4154 {return !(__x == __y);}
4174 const exponential_distribution<_RealType>& __x)
4179 return __os << __x.lambda();
4185 exponential_distribution<_RealType>& __x)
4195 __x.param(param_type(__lambda));
4225 bool operator==(const param_type& __x, const param_type& __y)
4226 {return __x.__mean_ == __y.__mean_ && __x.__stddev_ == __y.__stddev_;}
4228 bool operator!=(const param_type& __x, const param_type& __y)
4229 {return !(__x == __y);}
4272 bool operator==(const normal_distribution& __x,
4274 {return __x.__p_ == __y.__p_ && __x._V_hot_ == __y._V_hot_ &&
4275 (!__x._V_hot_ || __x._V_ == __y._V_);}
4277 bool operator!=(const normal_distribution& __x,
4279 {return !(__x == __y);}
4285 const normal_distribution<_RT>& __x);
4291 normal_distribution<_RT>& __x);
4328 const normal_distribution<_RT>& __x)
4335 __os << __x.mean() << __sp << __x.stddev() << __sp << __x._V_hot_;
4336 if (__x._V_hot_)
4337 __os << __sp << __x._V_;
4344 normal_distribution<_RT>& __x)
4360 __x.param(param_type(__mean, __stddev));
4361 __x._V_hot_ = _V_hot;
4362 __x._V_ = _Vp;
4392 bool operator==(const param_type& __x, const param_type& __y)
4393 {return __x.__nd_ == __y.__nd_;}
4395 bool operator!=(const param_type& __x, const param_type& __y)
4396 {return !(__x == __y);}
4403 const lognormal_distribution<_RT>& __x);
4409 lognormal_distribution<_RT>& __x);
4453 bool operator==(const lognormal_distribution& __x,
4455 {return __x.__p_ == __y.__p_;}
4457 bool operator!=(const lognormal_distribution& __x,
4459 {return !(__x == __y);}
4465 const lognormal_distribution<_RT>& __x);
4471 lognormal_distribution<_RT>& __x);
4478 const lognormal_distribution<_RT>& __x)
4480 return __os << __x.__p_.__nd_;
4487 lognormal_distribution<_RT>& __x)
4489 return __is >> __x.__p_.__nd_;
4523 bool operator==(const param_type& __x, const param_type& __y)
4524 {return __x.__mean_ == __y.__mean_;}
4526 bool operator!=(const param_type& __x, const param_type& __y)
4527 {return !(__x == __y);}
4566 bool operator==(const poisson_distribution& __x,
4568 {return __x.__p_ == __y.__p_;}
4570 bool operator!=(const poisson_distribution& __x,
4572 {return !(__x == __y);}
4612 result_type __x;
4616 __x = 0;
4617 for (double __p = __urd(__urng); __p > __pr.__l_; ++__x)
4627 __x = static_cast<result_type>(__g);
4628 if (__x >= __pr.__l_)
4629 return __x;
4630 __difmuk = __pr.__mean_ - __x;
4633 return __x;
4649 __x = __pr.__mean_ + __pr.__s_ * __t;
4650 __difmuk = __pr.__mean_ - __x;
4655 if (__x < 10)
4660 __py = _VSTD::pow(__pr.__mean_, (double)__x) / __fac[__x];
4664 double __del = .8333333E-1 / __x;
4666 double __v = __difmuk / __x;
4668 __px = __x * _VSTD::log(1 + __v) - __difmuk - __del;
4670 __px = __x * __v * __v * (((((((.1250060 * __v + -.1384794) *
4673 __py = .3989423 / _VSTD::sqrt(__x);
4693 return __x;
4699 const poisson_distribution<_IntType>& __x)
4704 return __os << __x.mean();
4710 poisson_distribution<_IntType>& __x)
4719 __x.param(param_type(__mean));
4749 bool operator==(const param_type& __x, const param_type& __y)
4750 {return __x.__a_ == __y.__a_ && __x.__b_ == __y.__b_;}
4752 bool operator!=(const param_type& __x, const param_type& __y)
4753 {return !(__x == __y);}
4798 bool operator==(const weibull_distribution& __x,
4800 {return __x.__p_ == __y.__p_;}
4802 bool operator!=(const weibull_distribution& __x,
4804 {return !(__x == __y);}
4810 const weibull_distribution<_RT>& __x)
4817 __os << __x.a() << __sp << __x.b();
4824 weibull_distribution<_RT>& __x)
4835 __x.param(param_type(__a, __b));
4863 bool operator==(const param_type& __x, const param_type& __y)
4864 {return __x.__a_ == __y.__a_ && __x.__b_ == __y.__b_;}
4866 bool operator!=(const param_type& __x, const param_type& __y)
4867 {return !(__x == __y);}
4908 bool operator==(const extreme_value_distribution& __x,
4910 {return __x.__p_ == __y.__p_;}
4912 bool operator!=(const extreme_value_distribution& __x,
4914 {return !(__x == __y);}
4929 const extreme_value_distribution<_RT>& __x)
4936 __os << __x.a() << __sp << __x.b();
4943 extreme_value_distribution<_RT>& __x)
4954 __x.param(param_type(__a, __b));
4984 bool operator==(const param_type& __x, const param_type& __y)
4985 {return __x.__alpha_ == __y.__alpha_ && __x.__beta_ == __y.__beta_;}
4987 bool operator!=(const param_type& __x, const param_type& __y)
4988 {return !(__x == __y);}
5029 bool operator==(const gamma_distribution& __x,
5031 {return __x.__p_ == __y.__p_;}
5033 bool operator!=(const gamma_distribution& __x,
5035 {return !(__x == __y);}
5046 result_type __x;
5048 __x = __egen(__g);
5062 __x = __b + __y;
5063 if (__x >= 0)
5066 if (__z <= 1 - 2 * __y * __y / __x)
5068 if (_VSTD::log(__z) <= 2 * (__b * _VSTD::log(__x / __b) - __y))
5082 __x = _VSTD::pow(__u, 1 / __a);
5083 if (__x <= __es)
5089 __x = _VSTD::pow(1 - __a + __a * __e, 1 / __a);
5090 if (__x <= __e + __es)
5095 return __x * __p.beta();
5101 const gamma_distribution<_RT>& __x)
5108 __os << __x.alpha() << __sp << __x.beta();
5115 gamma_distribution<_RT>& __x)
5126 __x.param(param_type(__alpha, __beta));
5156 bool operator==(const param_type& __x, const param_type& __y)
5157 {return __x.__k_ == __y.__k_ && __x.__p_ == __y.__p_;}
5159 bool operator!=(const param_type& __x, const param_type& __y)
5160 {return !(__x == __y);}
5200 bool operator==(const negative_binomial_distribution& __x,
5202 {return __x.__p_ == __y.__p_;}
5204 bool operator!=(const negative_binomial_distribution& __x,
5206 {return !(__x == __y);}
5237 const negative_binomial_distribution<_IntType>& __x)
5244 return __os << __x.k() << __sp << __x.p();
5250 negative_binomial_distribution<_IntType>& __x)
5261 __x.param(param_type(__k, __p));
5287 bool operator==(const param_type& __x, const param_type& __y)
5288 {return __x.__p_ == __y.__p_;}
5290 bool operator!=(const param_type& __x, const param_type& __y)
5291 {return !(__x == __y);}
5331 bool operator==(const geometric_distribution& __x,
5333 {return __x.__p_ == __y.__p_;}
5335 bool operator!=(const geometric_distribution& __x,
5337 {return !(__x == __y);}
5343 const geometric_distribution<_IntType>& __x)
5348 return __os << __x.p();
5354 geometric_distribution<_IntType>& __x)
5363 __x.param(param_type(__p));
5389 bool operator==(const param_type& __x, const param_type& __y)
5390 {return __x.__n_ == __y.__n_;}
5392 bool operator!=(const param_type& __x, const param_type& __y)
5393 {return !(__x == __y);}
5435 bool operator==(const chi_squared_distribution& __x,
5437 {return __x.__p_ == __y.__p_;}
5439 bool operator!=(const chi_squared_distribution& __x,
5441 {return !(__x == __y);}
5447 const chi_squared_distribution<_RT>& __x)
5452 __os << __x.n();
5459 chi_squared_distribution<_RT>& __x)
5469 __x.param(param_type(__n));
5499 bool operator==(const param_type& __x, const param_type& __y)
5500 {return __x.__a_ == __y.__a_ && __x.__b_ == __y.__b_;}
5502 bool operator!=(const param_type& __x, const param_type& __y)
5503 {return !(__x == __y);}
5544 bool operator==(const cauchy_distribution& __x,
5546 {return __x.__p_ == __y.__p_;}
5548 bool operator!=(const cauchy_distribution& __x,
5550 {return !(__x == __y);}
5567 const cauchy_distribution<_RT>& __x)
5574 __os << __x.a() << __sp << __x.b();
5581 cauchy_distribution<_RT>& __x)
5592 __x.param(param_type(__a, __b));
5622 bool operator==(const param_type& __x, const param_type& __y)
5623 {return __x.__m_ == __y.__m_ && __x.__n_ == __y.__n_;}
5625 bool operator!=(const param_type& __x, const param_type& __y)
5626 {return !(__x == __y);}
5667 bool operator==(const fisher_f_distribution& __x,
5669 {return __x.__p_ == __y.__p_;}
5671 bool operator!=(const fisher_f_distribution& __x,
5673 {return !(__x == __y);}
5689 const fisher_f_distribution<_RT>& __x)
5696 __os << __x.m() << __sp << __x.n();
5703 fisher_f_distribution<_RT>& __x)
5714 __x.param(param_type(__m, __n));
5740 bool operator==(const param_type& __x, const param_type& __y)
5741 {return __x.__n_ == __y.__n_;}
5743 bool operator!=(const param_type& __x, const param_type& __y)
5744 {return !(__x == __y);}
5784 bool operator==(const student_t_distribution& __x,
5786 {return __x.__p_ == __y.__p_;}
5788 bool operator!=(const student_t_distribution& __x,
5790 {return !(__x == __y);}
5805 const student_t_distribution<_RT>& __x)
5810 __os << __x.n();
5817 student_t_distribution<_RT>& __x)
5827 __x.param(param_type(__n));
5864 bool operator==(const param_type& __x, const param_type& __y)
5865 {return __x.__p_ == __y.__p_;}
5867 bool operator!=(const param_type& __x, const param_type& __y)
5868 {return !(__x == __y);}
5879 const discrete_distribution<_IT>& __x);
5885 discrete_distribution<_IT>& __x);
5937 bool operator==(const discrete_distribution& __x,
5939 {return __x.__p_ == __y.__p_;}
5941 bool operator!=(const discrete_distribution& __x,
5943 {return !(__x == __y);}
5949 const discrete_distribution<_IT>& __x);
5955 discrete_distribution<_IT>& __x);
6028 const discrete_distribution<_IT>& __x)
6035 size_t __n = __x.__p_.__p_.size();
6038 __os << __sp << __x.__p_.__p_[__i];
6045 discrete_distribution<_IT>& __x)
6055 swap(__x.__p_.__p_, __p);
6095 bool operator==(const param_type& __x, const param_type& __y)
6096 {return __x.__densities_ == __y.__densities_ && __x.__b_ == __y.__b_;}
6098 bool operator!=(const param_type& __x, const param_type& __y)
6099 {return !(__x == __y);}
6110 const piecewise_constant_distribution<_RT>& __x);
6116 piecewise_constant_distribution<_RT>& __x);
6178 bool operator==(const piecewise_constant_distribution& __x,
6180 {return __x.__p_ == __y.__p_;}
6182 bool operator!=(const piecewise_constant_distribution& __x,
6184 {return !(__x == __y);}
6190 const piecewise_constant_distribution<_RT>& __x);
6196 piecewise_constant_distribution<_RT>& __x);
6329 const piecewise_constant_distribution<_RT>& __x)
6336 size_t __n = __x.__p_.__b_.size();
6339 __os << __sp << __x.__p_.__b_[__i];
6340 __n = __x.__p_.__densities_.size();
6343 __os << __sp << __x.__p_.__densities_[__i];
6344 __n = __x.__p_.__areas_.size();
6347 __os << __sp << __x.__p_.__areas_[__i];
6354 piecewise_constant_distribution<_RT>& __x)
6375 swap(__x.__p_.__b_, __b);
6376 swap(__x.__p_.__densities_, __densities);
6377 swap(__x.__p_.__areas_, __areas);
6418 bool operator==(const param_type& __x, const param_type& __y)
6419 {return __x.__densities_ == __y.__densities_ && __x.__b_ == __y.__b_;}
6421 bool operator!=(const param_type& __x, const param_type& __y)
6422 {return !(__x == __y);}
6433 const piecewise_linear_distribution<_RT>& __x);
6439 piecewise_linear_distribution<_RT>& __x);
6501 bool operator==(const piecewise_linear_distribution& __x,
6503 {return __x.__p_ == __y.__p_;}
6505 bool operator!=(const piecewise_linear_distribution& __x,
6507 {return !(__x == __y);}
6513 const piecewise_linear_distribution<_RT>& __x);
6519 piecewise_linear_distribution<_RT>& __x);
6668 const piecewise_linear_distribution<_RT>& __x)
6675 size_t __n = __x.__p_.__b_.size();
6678 __os << __sp << __x.__p_.__b_[__i];
6679 __n = __x.__p_.__densities_.size();
6682 __os << __sp << __x.__p_.__densities_[__i];
6683 __n = __x.__p_.__areas_.size();
6686 __os << __sp << __x.__p_.__areas_[__i];
6693 piecewise_linear_distribution<_RT>& __x)
6714 swap(__x.__p_.__b_, __b);
6715 swap(__x.__p_.__densities_, __densities);
6716 swap(__x.__p_.__areas_, __areas);