std::discre...ibution::min(3)
πΈ NAME πΈ
okay so bestie, welcome to std::discre...ibution::min(3) β straight outta the C++ Standard Libary (yes, βLibary,β thatβs the headerβs spelling, not me being chaotic ππ
). The NAME line is literally std::discrete_distribution::min β std::discrete_distribution::min, and itβs here to tell you the smallest value the distribution could potentially produce. Iconic. Lowkey obsessed. π
β¨ Synopsis β¨
result_type min() const; (since C++11)
This cutie is a const member function that returns the minimum value potentially generated by the distribution. Around since C++11, serving ever since. π«Ά
π Parameters π
(none)
No parameters. Zero. Nada. No arguments, no stress. π
π Return value π
The minimum value potentially generated by the distribution. Thatβs the whole answer, bestie β no plot twist. πΈ
π₯ Complexity π₯
Constant. Periodt. β¨
π See also π
maxβ returns the maximum potentially generated value (C++11) (public member function). Go give it a lil look ππ
signed off with love by http://cppreference.com Β· 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