std::bernou...tion::param(3)
β¨ NAME β¨
okay bestie, gather round: this is the manual page for std::bernou...tion::param(3) β but the actual main character is std::bernoulli_distribution::param, from the C++ Standard Library. Itβs giving βtiny overloads, big parameter-set energyβ π
.
π Synopsis π
param_type param() const; (1) (since C++11)
void param( const param_type& params ); (2) (since C++11)
This literally manages the associated distribution parameter set, no cap.
- Returns the associated parameter set. β¨
- Sets the associated parameter set to
params. π«Ά
πΈ Parameters πΈ
paramsβ new contents of the associated parameter set. Thatβs the whole vibe: fresh parameter-set contents, bestie.
π Return value π
- The associated parameter set. π
- (none) β literally nothing, and thatβs iconic.
β Complexity β
Constant. π So itβs fast, lowkey no stressful loops, periodt.
cute sign-off: source/version and date are http://cppreference.com, 2024.06.10, and the page is std::bernou...tion::param(3). byeee, go manage those parameter sets ππ
π¦ 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