std::discr...param_type(3)
π NAME π
Okay so bestie, this is the std::discr...param_type(3) page from the Library Functions Manual, and the main character is std::discrete_distribution< _IntType >::param_type β the parameter type for that distribution. That's the full name, and we are not skipping it. β¨
π¦ SYNOPSIS π¦
πΈ Public Types
typedef discrete_distribution< _IntType > distribution_typeβ the matching distribution type. Literally its built-in bestie.
π Public Member Functions
template<typename _InputIterator > param_type (_InputIterator __wbegin, _InputIterator __wend)β constructor from the iterator range__wbeginto__wend. Range vibes.param_type (const param_type &)=defaultβ copy constructor, defaulted. No cap.param_type (initializer_list< double > __wil)β constructor frominitializer_list< double > __wil. List slay.template<typename _Func > param_type (size_t __nw, double __xmin, double __xmax, _Func __fw)β constructor fromsize_t __nw,double __xmin,double __xmax, and_Func __fw. Function energy.param_type & operator= (const param_type &)=defaultβ assignment operator, defaulted. Copy that assignment, periodt.std::vector< double > probabilities () constβ returns the probabilities as astd::vector< double >. Vector of doubles, iconic.
π«Ά Friends
class discrete_distribution< _IntType >β friend class. They go way back.bool operator== (const param_type &__p1, const param_type &__p2)β equality operator forconst param_type &__p1andconst param_type &__p2. Compare era.
π§ DETAILED DESCRIPTION π§
The template and struct are exactly this:
template<typename _IntType = int>
struct std::discrete_distribution< _IntType >::param_type
Parameter type. Short, sweet, and to the point.
π AUTHOR π
Generated automatically by Doxygen for libstdc++ from the source code.
So no mysterious human author to thank β just Doxygen doing its automated little dance. π
Bye bestie! This page comes from libstdc++, dated Fri Feb 14 2025, and it's the std::discr...param_type(3) page β mwah! ππ¦
π¦ where this page comes from
- centos-stream 9: gcc-toolset-13-libstdc++-docs 13.3.1-2.3.el9 Β· GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms