STD::PIECEWISE_LINEAR_DISTRIBUTION_PARAM_TYPE(3)

πŸ“¦
version 13.3.1 Β· 3 versions
, in centos-stream 9

πŸ’– NAME πŸ’–

okay so bestie, this page comes from the Library Functions Manual, and the star of the show is std::piecewise_linear_distribution< _RealType >::param_type. That's the whole name, no cap β€” nested struct realness, template parameter and all. πŸ’…

✨ SYNOPSIS ✨

Here's the full cast, bestie β€” every public type, public member function, and friend, exactly as written:

🫢 Public Types

  • typedef piecewise_linear_distribution< _RealType > distribution_type β€” the distribution type, periodt.

πŸ’… Public Member Functions

  • template<typename _InputIteratorB , typename _InputIteratorW > param_type (_InputIteratorB __bfirst, _InputIteratorB __bend, _InputIteratorW __wbegin) β€” templated constructor with __bfirst, __bend, and __wbegin; iterator besties in the building.
  • param_type (const param_type &)=default β€” defaulted constructor from const param_type &, slay.
  • template<typename _Func > param_type (initializer_list< _RealType > __bl, _Func __fw) β€” templated constructor taking an initializer_list< _RealType > called __bl and a _Func called __fw.
  • template<typename _Func > param_type (size_t __nw, _RealType __xmin, _RealType __xmax, _Func __fw) β€” templated constructor with size_t __nw, _RealType __xmin, _RealType __xmax, and _Func __fw.
  • std::vector< double > densities () const β€” densities () const, returning std::vector< double >. iconic.
  • std::vector< _RealType > intervals () const β€” intervals () const, returning std::vector< _RealType >. also iconic.
  • param_type & operator= (const param_type &)=default β€” defaulted assignment operator from const param_type &, periodt.

🌸 Friends

  • bool operator== (const param_type &__p1, const param_type &__p2) β€” friend equality for two param_types, with __p1 and __p2.
  • class piecewise_linear_distribution< _RealType > β€” friend class, living its best life.

πŸ¦‹ Detailed Description πŸ¦‹

template<typename _RealType = double>
    struct std::piecewise_linear_distribution< _RealType >::param_type

Parameter type. That's the whole description, bestie β€” and the template default is double, so yes, _RealType = double is right there. 🫢

πŸŽ€ Author πŸŽ€

Generated automatically by Doxygen for libstdc++ from the source code. The robots really said β€œwe'll handle this one,” and honestly? They ate. πŸ’…


That's the page, bestie! Source/version: libstdc++. Date on the page: Fri Feb 14 2025. Footer tag: std::piece...:param_type(3). Bye-bye, mwah πŸ’œβœ¨

πŸ“¦ where this page comes from