std::bernou...ribution::p(3)
π NAME π
std::bernoulli_distribution::p β std::bernoulli_distribution::p (yes bestie, the name is literally the name, iconic π
)
okay so this is the std::bernou...ribution::p(3) page from the C++ Standard Libary manual, and it's all about the tiny but mighty p() member function. no cap, it's a whole vibe check for your Bernoulli distribution π¦
β¨ Synopsis β¨
double p() const; (since C++11)
Returns the p parameter the distribution was constructed with. It defines the probability of generating true. The default value is 0.5. periodt π
πΈ Parameters πΈ
(none)
literally none. zero. nada. no arguments, no drama, just vibes π«Ά
π Return value π
Floating point value identifying the p distribution parameter. slay β¨
π See also π
paramβ gets or sets the distribution parameter object.(C++11)(public member function) π₯
mwah π β sourced from http://cppreference.com, dated 2024.06.10, and yeah the footer is still serving std::bernou...ribution::p(3). catch u later, 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