std::binomi...ibution::p,t(3)
π 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. π
- Returns the
pdistribution parameter. It defines the probability of a trial generatingtrue. The default value is0.5. - Returns the
tdistribution parameter. It identifies the number of trials. The default value is1.
π 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 π
- The
pdistribution parameter. - The
tdistribution 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
- 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