RANDOM_DISTRIBUTIONS_DISCRETE(3)
π NAME π
Okay so welcome to Discrete Distributions(3), bestie β this page lives in the Library Functions Manual, and it's giving βhere are the discrete-distribution classes you asked forβ realness. No cap. π
Discrete Distributions β that's the name, and the classes below are the whole main-character lineup. β¨
π¦ Classes π¦
class std::bernoulli_distributionβ literally a Bernoulli random number distribution. Iconic. πclass std::binomial_distribution< _IntType, _RealType >β a discrete binomial random number distribution, fr fr. πΈclass std::geometric_distribution< _IntType, _RealType >β a discrete geometric random number distribution. Slay. πclass std::poisson_distribution< _IntType, _RealType >β a discrete Poisson random number distribution. Obsessed. π¦class std::uniform_int< _IntType >β a uniform discrete distribution for random numbers: a discrete random distribution on the range$[min, max]$with equal probability throughout the range. The equal-probability energy is highkey everything. β¨
π Author π
This page was generated automatically by Doxygen for libstdc++, straight from the source code β not me writing it by hand, but I'm still gonna make it cute. π«Ά
Signing off with libstdc++, dated 21 Apr 2009, footer label Discrete Distributions(3) β periodt. π
π¦ where this page comes from
- nixpkgs unstable: std-man-pages 4.4.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms