std::piecew...ution::param(3)
πΈ NAME πΈ
okay bestie, welcome to the std::piecew...ution::param(3) page from the C++ Standard Libary (their spelling, not mine, π). The star of the show is std::piecewise_constant_distribution::param β and yes, the NAME line literally repeats it: std::piecewise_constant_distribution::param. She's a mouthful and she knows it π
.
β¨ Synopsis β¨
param_type param() const; (1) (since C++11)
void param( const param_type& params ); (2) (since C++11)
This little duo manages the associated distribution parameter set. Think of it as the group-chat admin for the distribution's params π«Ά. Both overloads are (since C++11), no cap.
- Returns the associated parameter set. π
- Sets the associated parameter set to
params. π
π Parameters π
paramsβ the new contents of the associated parameter set. That's the whole assignment, bestie β¨.
π Return value π
- The associated parameter set. She hands it right over π .
(none)β literally nothing comes back, and that's valid π.
β‘ Complexity β‘
Constant. No surprises, no drama, just constant π₯.
source/version check:http://cppreference.com, dated2024.06.10, page tagstd::piecew...ution::param(3). mwah, bye bestie π«Άπ
π¦ 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