STD::POISSON_DISTRIBUTION::PARAM_TYPE(3)
π NAME π
std::poisson_distribution< _IntType >::param_type β bestie, this is the little struct that holds the parameter for a Poisson distribution π
So like, quick vibe check before we dive in: this page lives in the Library Functions Manual, and it ships with libstdc++ β that's the GNU C++ standard library, no cap. If you were searching for std::poiss...:param_type(3), you found her, she's right here π
β¨ SYNOPSIS β¨
#include <random>
Okay so here's the whole fam, laid out exactly how the header does it π
πΈ Public Types πΈ
typedef poisson_distribution< _IntType > distribution_typeβ the distribution this param_type belongs to. It's giving "I know my parent" energy π«Ά
π¦ Public Member Functions π¦
param_type (double __mean)β constructor time!! hand her the mean, she'll hold onto it βdouble mean () constβ gives you the mean back. she's a giver, not a gatekeeper π
π Friends π
bool operator== (const param_type &__p1, const param_type &__p2)β compares two param_types, tells you if they're twins π―class poisson_distribution< _IntType >β the big sibling distribution class, officially a friend π«
π Detailed Description π
template<typename _IntType = int>
struct std::poisson_distribution< _IntType >::param_type
Parameter type. That's literally the whole official description and honestly? iconic. short. concise. she said what she said π
Note the default: _IntType defaults to int, so if you don't specify anything, int is what you get β¨
π Author π
Generated automatically by Doxygen for libstdc++, straight from the source code. So like, no human author to credit here, the robots did this one π€π
libstdc++ Β· std::poiss...:param_type(3) Β· Library Functions Manual
okay bestie that's the whole page, you ate it, go forth and distribute your Poisson values responsibly πβ¨ mwah π
π¦ where this page comes from
- arch rolling: gcc 16.2.1+r23+gd564253eb6c8-1 Β· GPL-3.0-or-later WITH GCC-exception-3.1 AND GFDL-1.3-or-later
- fedora 44: libstdc++-docs 16.0.1-0.10.fc44 Β· GPL-3.0-or-later AND LGPL-3.0-or-later AND (GPL-3.0-or-later WITH GCC-exception-3.1) AND (GPL-3.0-or-later WITH Texinfo-exception) AND (LGPL-2.1-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GNU-compiler-exception) AND BSL-1.0 AND GFDL-1.3-or-later AND Linux-man-pages-copyleft-2-para AND SunPro AND BSD-1-Clause AND BSD-2-Clause AND BSD-2-Clause-Views AND BSD-3-Clause AND BSD-4-Clause AND BSD-Source-Code AND Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 WITH LLVM-Exception) AND ZPL-2.1 AND ISC AND LicenseRef-Fedora-Public-Domain AND HP-1986 AND curl AND Martin-Birgmeier AND HPND-Markus-Kuhn AND dtoa AND SMLNJ AND AMD-newlib AND OAR AND HPND-merchantability-variant AND HPND-Intel
- fedora 44: libstdc++-docs 16.2.1-2.fc44
- fedora 44: libstdc++-docs 16.2.1-3.fc44 Β· GPL-3.0-or-later AND LGPL-3.0-or-later AND (GPL-3.0-or-later WITH GCC-exception-3.1) AND (GPL-3.0-or-later WITH Texinfo-exception) AND (LGPL-2.1-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GNU-compiler-exception) AND BSL-1.0 AND GFDL-1.3-or-later AND Linux-man-pages-copyleft-2-para AND SunPro AND BSD-1-Clause AND BSD-2-Clause AND BSD-2-Clause-Views AND BSD-3-Clause AND BSD-4-Clause AND BSD-Source-Code AND Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 WITH LLVM-Exception) AND ZPL-2.1 AND ISC AND LicenseRef-Fedora-Public-Domain AND HP-1986 AND curl AND Martin-Birgmeier AND HPND-Markus-Kuhn AND dtoa AND SMLNJ AND AMD-newlib AND OAR AND HPND-merchantability-variant AND HPND-Intel
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms