STD::GEOMETRIC_DISTRIBUTION_PARAM_TYPE(3cxx)
π NAME π
std::geometric_distribution< _IntType >::param_type β bestie, this is the parameter type for the geometric distribution, living in the 3cxx manual section. It's the little struct that carries around your distribution's settings so you can pass them in and out like a lil' vibe packet π
β¨ SYNOPSIS β¨
#include <random>
πΈ Public Types
typedef geometric_distribution< _IntType > distribution_typeβ the distribution it belongs to. matching set, no cap π
π¦ Public Member Functions
param_type (double __p)β constructor that takes the probability__p. yes bestie, that's the whole config π«Άdouble p () constβ hands you back thepvalue it's holding. a lil' getter, const-correct, doing its thing β¨
π§ Friends
class geometric_distribution< _IntType >β the distribution itself is a friend, so it can peek at the internals πbool operator== (const param_type &__p1, const param_type &__p2)β the equality check, comparing twoparam_types. slay π₯
π Detailed Description π
okay so the actual declaration is this, exactly, no edits:
template<typename _IntType = int>
struct std::geometric_distribution< _IntType >::param_type
and what does the docs say it is? "Parameter type." that's it. that's the entire description. iconic minimalism honestly π she said "my purpose is in my name" and left. main character energy fr fr β
ngl,<italic>_IntType</italic>defaults tointif you don't say otherwise π
π Author π
Generated automatically by Doxygen for libstdc++ from the source code. so likeβ¦ nobody wrote this by hand, the robot did it for us π
and that's the whole page bestie, no cap π the header at the top and the footer at the bottom both read std::geometric...e >::param_type(3cxx) β yes the title's lowkey truncated in both places (the full name didn't fit, tragic π), and it's all libstdc++, generated by Doxygen straight from the source. periodt πβ¨
π¦ 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