std::gamma_...::alpha,beta(3)
π NAME π
This is the std::gamma_...::alpha,beta(3) page from the C++ Standard Library, and it's all about std::gamma_distribution::alpha,beta β the two member functions alpha and beta that hand you back the distribution parameters your gamma distribution was constructed with. π Slay.
β¨ Synopsis β¨
RealType alpha() const; (1) (since C++11)
RealType beta() const; (2) (since C++11)
okay so the actual tea β: both functions return the distribution parameters the distribution has been constructed with. Let's get into it:
alpha()β Returns the Ξ± distribution parameter. It is also known as the shape parameter. The default value is1.0. πbeta()β Returns the Ξ² distribution parameter. It is also known as the scale parameter. The default value is1.0. β¨
πΈ Parameters πΈ
(none) β literally not a single parameter, bestie π«Ά zero, nada, the vibes are immaculate.
π Return value π
- A floating point value identifying the Ξ± parameter. π
- A floating point value identifying the Ξ² parameter. π¦
π¦ See also π¦
paramβ gets or sets the distribution parameter object (C++11) (public member function). ngl, super handy π
mwah π β this lil masterpiece came from http://cppreference.com, version 2024.06.10, and it's the std::gamma_...::alpha,beta(3) manual page. bye bestie! ππβ¨
π¦ 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