std::negati...bution::min(3)

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

✨ std::negative_binomial_distribution::min ✨

okay bestie so lowkey this page is about std::negative_binomial_distribution::min β€” yes that's the whole name, it's giving "my parents gave me a long name and I'm owning it" πŸ’… and no cap, it's a tiny little member function that just tells you the smallest number this distribution could possibly spit out πŸŽ€


🌸 SYNOPSIS 🌸

result_type min() const;  (since C++11)

Returns the minimum value potentially generated by the distribution. that's it, that's the whole vibe πŸ¦‹


πŸ’– PARAMETERS πŸ’–

(none) β€” literally nothing, it takes zero arguments, not me showing up to the group chat with nothing to say πŸ™ˆ


⭐ RETURN VALUE ⭐

The minimum value potentially generated by the distribution. yeah she's a one-trick pony and she ate πŸ‘‘


🧚 COMPLEXITY 🧚

Constant. so like O(1), instant, no waiting around, she's fast fr fr πŸ”₯


πŸ‘‘ SEE ALSO πŸ‘‘

  • max β€” returns the maximum potentially generated value πŸ”₯ (C++11) (public member function)

like yeah go check out her sister max, they're a matching set, iykyk πŸ’œ


✨ that's the whole manual page bestie, you're now an expert, periodt ✨

this gem was served fresh from http://cppreference.com, version 2024.06.10 β€” mwah, drink some water and go call min() on something πŸ’–πŸŽ€πŸ«Ά

πŸ“¦ where this page comes from