std::normal...ution::param(3)

πŸ“¦ version 2024.07.05, in nixpkgs unstable, opensuse-leap 16.0

okay so welcome to the std::normal...ution::param(3) page from the C++ Standard Libary manual β€” yes, that’s literally how the manual spells it, and we are keeping that exact energy, no cap πŸ’…βœ¨

πŸŽ€ NAME πŸŽ€

std::normal_distribution::param β€” std::normal_distribution::param

bestie, the NAME section is giving β€œsay it twice, make it iconic” and honestly? slay.


✨ Synopsis ✨

param_type param() const;               (1) (since C++11)
void param( const param_type& params ); (2) (since C++11)

Manages the associated distribution parameter set.

  1. Returns the associated parameter set.
  2. Sets the associated parameter set to params.

two overloads, both with that (since C++11) badge β€” vintage but still main character πŸ’–


🌸 Parameters 🌸

  • params β€” new contents of the associated parameter set

πŸ’– Return value πŸ’–

  1. The associated parameter set.
  2. (none)

overload (1) hands you the associated parameter set, and overload (2) gives you (none) β€” it’s giving β€œI did the thing, no receipt needed” 😭🫢


πŸ¦‹ Complexity πŸ¦‹

Constant.

literally constant, no cap, that’s the whole vibe ⭐


xoxo, your girl at http://cppreference.com, dated 2024.06.10, signing off from std::normal...ution::param(3) β€” mwah πŸ’‹πŸŽ€

πŸ“¦ where this page comes from