STD::PIECEWISE_CONSTANT_DISTRIBUTION_PARAM_TYPE(3)
π¦ std::piecewise_constant_distribution< _RealType >::param_type π¦
okay so bestie, this is the Library Functions Manual page for std::piecewise_constant_distribution< _RealType >::param_type, and it is literally giving parameter-type struct energy. π¦ no cap, we're about to go through every single thing on this page β not a crumb skipped. π
β¨ NAME β¨
std::piecewise_constant_distribution< _RealType >::param_type
πΈ SYNOPSIS πΈ
okay here's the whole roster, bestie β every type, every member function, every friend, exactly as the page lists them. π
π Public Types π
typedef piecewise_constant_distribution< _RealType > distribution_type
That's the one typedef: distribution_type is piecewise_constant_distribution< _RealType >. iconic, honestly. β¨
π«Ά Public Member Functions π«Ά
template<typename _InputIteratorB , typename _InputIteratorW >
param_type (_InputIteratorB __bfirst, _InputIteratorB __bend,
_InputIteratorW __wbegin)
param_type (const param_type &)=default
template<typename _Func > param_type (initializer_list< _RealType >
__bi, _Func __fw)
template<typename _Func > param_type (size_t __nw, _RealType __xmin,
_RealType __xmax, _Func __fw)
std::vector< double > densities () const
std::vector< _RealType > intervals () const
param_type & operator= (const param_type &)=default
look at that lineup: constructors, a defaulted copy constructor, densities(), intervals(), and a defaulted assignment operator. the way that param_type (const param_type &)=default and param_type & operator= (const param_type &)=default are just sitting there being defaulted? we love to see it. π
π§ Friends π§
bool operator== (const param_type &__p1, const param_type &__p2)
class piecewise_constant_distribution< _RealType >
two friends in the house: the equality operator bool operator== (const param_type &__p1, const param_type &__p2) and class piecewise_constant_distribution< _RealType >. periodt. π«Ά
π Detailed Description π
template<typename _RealType = double>
struct std::piecewise_constant_distribution< _RealType >::param_type"
Parameter type. fr fr, that's the whole description β it's the parameter type, and it's not out here pretending to be anything else. ππ
π«Ά Author π«Ά
Author? more like auto-generated, bestie: Doxygen generated this for libstdc++ from the source code. no human author hand-wrote it. π
xoxo, your libstdc++ bestie π
β¨ β Fri Feb 14 2025 β std::piece...:param_type(3) out π¦
π¦ 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