std::binomi...:operator()(3)
Okay so this is the std::binomi...:operator()(3) page from the C++ Standard Libary β yes, that spelling is exactly what the manual name says, and weβre folding it in right here at the top πβ¨
π NAME π
std::binomial_distribution::operator()-std::binomial_distribution::operator()
Bestie, the original literally repeats the same name twice, so here it is twice. Periodt π
β¨ Synopsis β¨
template< class Generator > (1)
(since C++11)
result_type operator()( Generator& g );
template< class Generator > (2)
(since C++11)
result_type operator()( Generator& g, const param_type& params );
It generates random numbers that are distributed according to the associated probability function. The entropy is acquired by calling g.operator() β thatβs the whole vibe check π₯
The first version uses the associated parameter set, and the second version uses params. The associated parameter set is not modified β highkey important, bestie π«Ά
π«Ά Parameters π«Ά
gβ a uniform random bit generator objectparamsβ distribution parameter set to use instead of the associated one
π§ Type requirements π§
Generatormust meet the requirements ofUniformRandomBitGenerator.
π Return value π
The generated random number. Thatβs it, thatβs the tea π΅
π₯ Complexity π₯
Amortized constant number of invocations of g.operator(). Slay, efficient icon π
Okay bye bestie, this page is sourced from http://cppreference.com and dated 2024.06.10 β mwah ππ
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms