std::fisher...:operator()(3)

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

πŸŽ€ NAME πŸŽ€

okay so this is the C++ Standard Libary manual page for std::fisher_f_distribution::operator() β€” the header squishes it down to std::fisher...:operator()(3), but bestie it’s literally the same function. It’s giving:

  • std::fisher_f_distribution::operator() β€” std::fisher_f_distribution::operator()

✨ Synopsis ✨

          template< class Generator >                                       (1)
       (since C++11)
          result_type operator()( Generator& g );
          template< class Generator >                                       (2)
       (since C++11)
          result_type operator()( Generator& g, const param_type& params );

So basically: it generates random numbers that are distributed according to the associated probability function. The entropy is acquired by calling g.operator().

Version (1) uses the associated parameter set, and version (2) uses params. The associated parameter set is not modified β€” periodt, no cap. πŸ’…


🌸 Parameters 🌸

  • g β€” a uniform random bit generator object.
  • params β€” distribution parameter set to use instead of the associated one.

πŸ’… Type requirements πŸ’…

  • Generator must meet the requirements of UniformRandomBitGenerator.

πŸ¦‹ Return value πŸ¦‹

The generated random number. That’s it, that’s the tea. ✨


⭐ Complexity ⭐

Amortized constant number of invocations of g.operator().


source/version: http://cppreference.com Β· date 2024.06.10 Β· page std::fisher...:operator()(3) β€” bye bestie, slay πŸ«ΆπŸ’–

πŸ“¦ where this page comes from