cpp/header/random

This header is part of the pseudo-random number generation library.

Class template std
{{source|1= namespace std { template class cauchy_distribution { public: // types using result_type = RealType; using param_type = /* unspecified */;

// constructors and reset functions cauchy_distribution : cauchy_distribution(0.0) {} explicit cauchy_distribution(RealType a, RealType b = 1.0); explicit cauchy_distribution(const param_type& parm); void reset;

// equality operators friend bool operator==(const cauchy_distribution& x, const cauchy_distribution& y);

// generating functions template result_type operator(URBG& g); template result_type operator(URBG& g, const param_type& parm);

// property functions RealType a const; RealType b const; param_type param const; void param(const param_type& parm); result_type min const; result_type max const;

// inserters and extractors template friend basic_ostream& operator<<(basic_ostream& os, const cauchy_distribution& x); template friend basic_istream& operator>>(basic_istream& is, cauchy_distribution& x); }; }}