std::discre...ibution::min(3)

πŸ“¦ version 2024.07.05, in nixpkgs unstable, opensuse-leap 16.0

🌸 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