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 > __bi plus _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++ / the 3cxx manual, footer says libstd and the manual tag 3cxx, and there's no separate date printed in this copy β€” so I'm not inventing one. bye bestie! πŸŽ€
πŸ“¦ where this page comes from