STD::NEGATIVE_BINOMIAL_DISTRIBUTION_PARAM_TYPE(3cxx)
π std::negative_binomial_distribution< _IntType >::param_type π
Okay bestie, welcome to the 3cxx manual page for this nested param_type struct. It's giving very niche C++ random-library realness, and we're gonna get through it together. π«Ά
πΈ NAME πΈ
std::negative_binomial_distribution< _IntType >::param_type β that's the whole name, and yes, it's a mouthful. Slay.
β¨ SYNOPSIS β¨
#include <random>
π«Ά Public Types π«Ά
typedef negative_binomial_distribution< _IntType > distribution_typeβ the distribution type this parameter type is associated with.
π Public Member Functions π
param_type (_IntType __k, double __p=0.5)β constructs aparam_typewith__kand__p;__phas a default of0.5._IntType k () constβ returns thekvalue.double p () constβ returns thepvalue.
π Friends π
bool operator== (const param_type &__p1, const param_type &__p2)β compares twoparam_typeobjects for equality.
π¦ Detailed Description π¦
The template and struct situation is exactly this:
template<typename _IntType = int>
struct std::negative_binomial_distribution< _IntType
>::param_type"Parameter type.
Lowkey iconic formatting, ngl. The description it gives is Parameter type. β and that "Parameter type. bit is literally glued onto the end in the original. Keep it cute, keep it exact. π
π Author π
Generated automatically by Doxygen for libstdc++ from the source code.
Cute sign-off time: footer energy is libstd and 3cxx β aka the libstdc++ manual, section 3cxx β and no date is listed, bestie. Stay random. πβ¨π¦
π¦ where this page comes from
- ubuntu noble: libstdc++-14-doc 14-20240412-0ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms