Lines Matching refs:bernoulli_distribution
555 class bernoulli_distribution
564 typedef bernoulli_distribution distribution_type;
575 explicit bernoulli_distribution(double p = 0.5);
576 explicit bernoulli_distribution(const param_type& parm);
592 friend bool operator==(const bernoulli_distribution& x,
593 const bernoulli_distribution& y);
594 friend bool operator!=(const bernoulli_distribution& x,
595 const bernoulli_distribution& y);
601 const bernoulli_distribution& x);
607 bernoulli_distribution& x);
3810 // bernoulli_distribution
3812 class _LIBCPP_TEMPLATE_VIS bernoulli_distribution
3822 typedef bernoulli_distribution distribution_type;
3844 explicit bernoulli_distribution(double __p = 0.5)
3847 explicit bernoulli_distribution(const param_type& __p) : __p_(__p) {}
3873 bool operator==(const bernoulli_distribution& __x,
3874 const bernoulli_distribution& __y)
3877 bool operator!=(const bernoulli_distribution& __x,
3878 const bernoulli_distribution& __y)
3884 bernoulli_distribution::result_type
3885 bernoulli_distribution::operator()(_URNG& __g, const param_type& __p)
3893 operator<<(basic_ostream<_CharT, _Traits>& __os, const bernoulli_distribution& __x)
3905 operator>>(basic_istream<_CharT, _Traits>& __is, bernoulli_distribution& __x)
3907 typedef bernoulli_distribution _Eng;
5223 bernoulli_distribution __gen(__p);