std::fisher...ution::reset(3)

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

✨ std::fisher_f_distribution::reset ✨

Straight outta the C++ Standard Libary manual (that spelling is the header’s, not mine πŸ’…), it’s everyone’s fave little reset moment for a Fisher F distribution object.


🌸 NAME 🌸

std::fisher_f_distribution::reset β€” literally std::fisher_f_distribution::reset. The name is the name, no cap. 🫢

πŸ¦‹ Synopsis πŸ¦‹

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

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(). It’s giving fresh start, main character energy. ✨

πŸŽ€ Parameters πŸŽ€

  • (none) β€” zero parameters, nada, not a single lil argument. 🫢

πŸ’… Return value πŸ’…

  • (none) β€” it returns absolutely nothing. No little gift, no value, just vibes and a reset. 😭

πŸ”₯ Complexity πŸ”₯

Constant. Lowkey fast, highkey iconic. πŸ‘‘


Bestie, this one is simple: call it, reset the internal state, and the next operator() won’t be dragging around the previous calls like old group-chat drama. Periodt. πŸ’–

🫢 signed, sealed, delivered from http://cppreference.com, version 2024.06.10 β€” June 10, 2024, bestie. Slay. πŸŒˆπŸŽ€

πŸ“¦ where this page comes from