STD::PIECEWISE_CONSTANT_DISTRIBUTION_PARAM_TYPE(3cxx)
π NAME π
okay so bestie, this is the <3cxx> manual page for std::piecewise_constant_distribution< _RealType >::param_type β yes, the whole entire mouthful. π
β¨ SYNOPSIS β¨
#include <random>
π Public Types π
typedef piecewise_constant_distribution< _RealType > distribution_typeβ literally the distribution type, no notes, no drama. β¨
π¦ Public Member Functions π¦
- iterator-ish constructor β takes
__bfirst,__bend, and__wbegin, exactly like this:
template<typename _InputIteratorB , typename _InputIteratorW >
param_type (_InputIteratorB __bfirst, _InputIteratorB __bend,
_InputIteratorW __wbegin)
- copy constructor β
param_type (const param_type &)=defaultπ«Ά - initializer-list constructor β takes an
initializer_list< _RealType > __biplus_Func __fw, and the source line breaks like this:
template<typename _Func > param_type (initializer_list< _RealType >
__bi, _Func __fw)
- another constructor β takes
size_t __nw,_RealType __xmin,_RealType __xmax, and_Func __fw, with this exact line wrap:
template<typename _Func > param_type (size_t __nw, _RealType __xmin,
_RealType __xmax, _Func __fw)
- densities β
std::vector< double > densities () constπ - intervals β
std::vector< _RealType > intervals () constπΈ - copy assignment β
param_type & operator= (const param_type &)=defaultπ
π Friends π
bool operator== (const param_type &__p1, const param_type &__p2)class piecewise_constant_distribution< _RealType >
π₯ Detailed Description π₯
The source says, with the tiny weird quote and all:
template<typename _RealType = double>
struct std::piecewise_constant_distribution< _RealType
>::param_type"Parameter type.
and the actual description vibe is just "Parameter type." β that's the whole note, bestie. π«Ά
π Author π
Generated automatically by Doxygen for libstdc++ from the source code.
π cute sign-off: source/version is libstdc++ / the3cxxmanual, footer sayslibstdand the manual tag3cxx, and there's no separate date printed in this copy β so I'm not inventing one. bye bestie! π
π¦ 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