std::binomi...ibution::p,t(3)

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

πŸ’– NAME πŸ’–

okay so bestie, this is the C++ Standard Libary manual page for std::binomial_distribution::p,t β€” page id std::binomi...ibution::p,t(3), cute and truncated. It’s giving β€œtwo tiny getters with main character energy,” and honestly? Obsessed. 🫢

std::binomial_distribution::p,t - std::binomial_distribution::p,t

✨ Synopsis ✨

double p() const;  (1) (since C++11)
IntType t() const; (2) (since C++11)

These return the parameters the distribution was constructed with. Fr fr. πŸ’…

  1. Returns the p distribution parameter. It defines the probability of a trial generating true. The default value is 0.5.
  2. Returns the t distribution parameter. It identifies the number of trials. The default value is 1.

πŸŽ€ Parameters πŸŽ€

(none) β€” literally no parameters here, bestie. Not a single argument. The distribution already got its construction params, and these getters just hand them back. 😌

πŸ‘‘ Return value πŸ‘‘

  1. The p distribution parameter.
  2. The t distribution parameter.

🌈 See also 🌈

  • param β€” gets or sets the distribution parameter object. (C++11) (public member function)

mwah πŸ’‹ β€” source/version: http://cppreference.com; date: 2024.06.10; page id: std::binomi...ibution::p,t(3). That’s the whole page, bestie β€” go forth and slay those binomial params 🌈✨

πŸ“¦ where this page comes from