std::gamma_...::alpha,beta(3)

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

πŸ’– 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:

  1. alpha() β€” Returns the Ξ± distribution parameter. It is also known as the shape parameter. The default value is 1.0. πŸ’…
  2. beta() β€” Returns the Ξ² distribution parameter. It is also known as the scale parameter. The default value is 1.0. ✨

🌸 Parameters 🌸

(none) β€” literally not a single parameter, bestie 🫢 zero, nada, the vibes are immaculate.


πŸŽ€ Return value πŸŽ€

  1. A floating point value identifying the Ξ± parameter. πŸ’–
  2. 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