std::geomet...ribution::p(3)
πΈ NAME πΈ
std::geometric_distribution::p - std::geometric_distribution::p β yes bestie, the name is literally the name twice, and we're obsessed with the confidence π
This is the std::geometric_distribution::p page from the C++ Standard Libary docs, and itβs giving βtiny function, big main character energyβ π
β¨ Synopsis β¨
double p() const; (since C++11)
okay so this one returns the p distribution parameter the distribution was constructed with. The parameter defines the probability of a trial generating true. The default value is 0.5. Itβs a const member function returning a double, and itβs (since C++11) β periodt β¨
π Parameters π
(none) β no parameters, not one, zero, zilch, the function said βI need nothing from youβ π
π Return value π
Floating point value identifying the p distribution parameter. Thatβs the whole return vibe β a floating-point value that identifies the p distribution parameter π«Ά
π¦ See also π¦
paramβ gets or sets the distribution parameter object.(C++11)(public member function)
okay thatβs the whole page, bestie β short and iconic. source: http://cppreference.com Β· version/date: 2024.06.10 Β· footer title energy: std::geomet...ribution::p(3) π«Άπ
π¦ 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