std::geomet...ribution::p(3)

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

🌸 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