std::binom...param_type(3)

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

πŸ’– NAME πŸ’–

std::binomial_distribution< _IntType >::param_type β€” okay so this is the std::binom...param_type(3) page from the Library Functions Manual, and it’s literally the parameter type for std::binomial_distribution. Periodt. πŸ‘‘

✨ SYNOPSIS ✨

πŸŽ€ Public Types πŸŽ€

  • typedef binomial_distribution< _IntType > distribution_type β€” the distribution type, bestie, exactly like that.

🌸 Public Member Functions 🌸

  • param_type (_IntType __t, double __p=0.5) β€” constructor vibes: takes __t and __p, and __p defaults to 0.5 (iconic default, no cap).
  • double p () const β€” returns the p value as a double.
  • _IntType t () const β€” returns the t value as _IntType.

πŸ¦‹ Friends πŸ¦‹

  • class binomial_distribution< _IntType > β€” friendship status: yes.
  • bool operator== (const param_type &__p1, const param_type &__p2) β€” equality check for two param_type objects, fr fr.

πŸ’… Detailed Description πŸ’…

template<typename _IntType = int>
struct std::binomial_distribution< _IntType >::param_type

This is the Parameter type for std::binomial_distribution< _IntType >, with _IntType defaulting to int. That’s the whole vibe: it’s the parameter type, and it ate. πŸ’–

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for libstdc++ from the source code.


ok bestie that’s the whole page β€” libstdc++, Fri Feb 14 2025, std::binom...param_type(3) β€” mwah, bye πŸ«ΆπŸ’–

πŸ“¦ where this page comes from