std::extrem...bution::a,b(3)

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

πŸ¦‹ NAME πŸ¦‹

okay so this is the page for std::extreme_value_distribution::a,b β€” and yes, bestie, it's from the C++ Standard Libary (that's literally how it's spelled in the header, we're not fixing it, it's giving typo-chic πŸ’€πŸ’–). these are the accessor girlies for the extreme value distribution's parameters, and they're about to spill everything.


✨ Synopsis ✨

two const member functions, both living their best life since C++11:

RealType a() const; (1) (since C++11)
RealType b() const; (2) (since C++11)

what do they do? they return the parameters the distribution was constructed with. periodt. πŸ’…

  1. a() returns the a distribution parameter (location). the default value is 1.0. yes, one point zero, not zero β€” don't mess it up.
  2. b() returns the b distribution parameter (scale). the default value is 0.0. literally zero, bestie.

🌸 Parameters 🌸

(none).

that's it. no arguments. the parameter list is empty and honestly? iconic. πŸŽ€


πŸ’– Return value πŸ’–

  1. the a distribution parameter (location).
  2. the b distribution parameter (scale).

no surprises, no plot twists, just the values you asked for. 🫢


πŸ‘‘ See also πŸ‘‘

  • param β€” gets or sets the distribution parameter object. it's a public member function and it's been around since C++11. iykyk.

and that's the whole vibe. this page came from http://cppreference.com, dated 2024.06.10, and its official title is std::extrem...bution::a,b(3) β€” go off, truncated little legend. πŸ’œβœ¨

πŸ“¦ where this page comes from