std::expon...param_type(3)
β¨ NAME β¨
std::exponential_distribution< _RealType >::param_type β bestie, this is a whole parameter type, and it lives inside the std::exponential_distribution template. She's part of the Library Functions Manual, section 3 (that's the C++ library girlies, iykyk π
).
πΈ SYNOPSIS πΈ
#include <random>
π Public Types
typedef exponential_distribution< _RealType > distribution_typeβ the distribution this param type belongs to. Her ride-or-die, fr fr π«Ά
π¦ Public Member Functions
param_type (_RealType __lambda)β the constructor, and she takes exactly one thing: a_RealType__lambda. That's it. That's the whole vibe β¨_RealType lambda () constβ getter for the lambda. Returns a_RealType. No cap, just hands it to you π
π Friends
bool operator== (const param_type &__p1, const param_type &__p2)β the equality bestie. Twoconstrefs walk in, aboolwalks out. Comparing param types is literally her whole personality π
π Detailed Description π
template<typename _RealType = double>
struct std::exponential_distribution< _RealType >::param_type
Okay so listen β she's a "Parameter type." That's the description, that's the assignment, that's the moment. A dedicated little struct that holds the parameters for an exponential_distribution< _RealType >, and note the default: _RealType defaults to double if you don't say otherwise. Default template args? We love to see it π
Not me being a nested struct inside a template inside <random>β¦ main character energy for real π
π Author π
Generated automatically by Doxygen for libstdc++, straight from the source code. So yes, a robot wrote this about a robot-adjacent struct. Iconic behaviour tbh π
So yeah, that's the whole page. Thanks for coming to my TED talk, the manual is libstdc++'s, there's no date on this footer (they left it blank, we move π§), and the section is std::expon...param_type(3) β truncated title and all, because even manpage headers get cut off sometimes. Slay, bye bestie π
β¨π
π¦ 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