STD::NORMAL_DISTRIBUTION_PARAM_TYPE(3cxx)

🌸 NAME 🌸

okay so this is the std::normal_distribution< _RealType >::param_type page from the 3cxx manual, and it’s the nested parameter-type struct for std::normal_distribution. Bestie, it’s giving β€œsmall but important supporting character” energy πŸ’….

✨ SYNOPSIS ✨

#include <random>

that’s the include in the synopsis, no cap.

πŸŽ€ Public Types πŸŽ€

  • typedef normal_distribution< _RealType > distribution_type β€” the public typedef for the matching normal_distribution< _RealType > type.

πŸ’… Public Member Functions πŸ’…

  • param_type (_RealType __mean, _RealType __stddev=_RealType(1)) β€” constructor taking __mean and __stddev; __stddev defaults to _RealType(1).
  • _RealType mean () const β€” the mean() member function, marked const, with return type _RealType.
  • _RealType stddev () const β€” the stddev() member function, marked const, with return type _RealType.

🫢 Friends 🫢

  • bool operator== (const param_type &__p1, const param_type &__p2) β€” friend equality operator for two param_type references, returning bool.

πŸ¦‹ Detailed Description πŸ¦‹

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

the description is literally "Parameter type. β€” yes, that stray quote is sitting right there in the original, bestie 😭. Iconic in a chaotic way.

πŸ’– Author πŸ’–

Generated automatically by Doxygen for libstdc++ from the source code. So the β€œauthor” here is the Doxygen autogen pipeline, not a person β€” periodt.


Sign-off: source/version is libstdc++ via Doxygen autogen, from the source code. The date is not printed on this page, so I’m not inventing one, bestie 🫢

πŸ“¦ where this page comes from