std::discre...ution::param(3)
π NAME π
std::discrete_distribution::param - std::discrete_distribution::param
okay so this is the std::discre...ution::param(3) page from the C++ Standard Libary manual, and itβs literally all about managing the parameter set thatβs associated with your distribution. bestie, itβs giving βsmall but importantβ energy π
πΈ Synopsis πΈ
param_type param() const; (1) (since C++11)
void param( const param_type& params ); (2) (since C++11)
okay so whatβs the vibe here? This pair manages the associated distribution parameter set. Thatβs its whole job, and it does it with main character energy β¨
- 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 assignment, no cap π«Ά
π¦ Return value π¦
- The associated parameter set. iconic, honestly.
- (none) β literally nothing. not a single thing returned π
β Complexity β
Constant.
like, constant constant. no drama, no surprises, fr fr π
mwah π β this one comes from http://cppreference.com, and the date on it is 2024.06.10. bye bestie, 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