std::gamma_...tion::reset(3)

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

πŸ’– NAME πŸ’–

okay so bestie, welcome to the std::gamma_...tion::reset(3) page from the C++ Standard Libary manual. The name up top is std::gamma_distribution::reset β€” and the NAME line says std::gamma_distribution::reset too, so yes, it’s self-titled main character energy. πŸ’…

✨ Synopsis ✨

The whole signature is right here, and it’s been around since C++11:

void reset();  (since C++11)

What it does? It resets the internal state of the distribution object. After a call to this function, the next call to operator() on the distribution object will not be dependent on previous calls to operator(). Clean-slate vibe, no cap. 🫢

πŸŽ€ Parameters πŸŽ€

  • (none) β€” no parameters. Not a single argument, bestie. The parameter list is literally none.

🌸 Return value 🌸

  • (none) β€” no return value. It’s giving void, so nothing comes back to you. 😭

πŸ¦‹ Complexity πŸ¦‹

Constant. That’s the entire complexity note β€” constant, periodt. ✨


Cute sign-off time: this page is std::gamma_...tion::reset(3) from the C++ Standard Libary manual, sourced from http://cppreference.com, dated 2024.06.10. Bye bestie, go reset something responsibly. πŸ’–

πŸ“¦ where this page comes from