std::extrem...bution::a,b(3)
π¦ 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. π
a()returns theadistribution parameter (location). the default value is1.0. yes, one point zero, not zero β don't mess it up.b()returns thebdistribution parameter (scale). the default value is0.0. literally zero, bestie.
πΈ Parameters πΈ
(none).
that's it. no arguments. the parameter list is empty and honestly? iconic. π
π Return value π
- the
adistribution parameter (location). - the
bdistribution 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
- 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