std::fisher...distribution(3)
π std::fisher_f_distribution::fisher_f_distribution
okay so bestie, welcome to the C++ Standard Library manual page for std::fisher_f_distribution::fisher_f_distribution β yes the name is a mouthful, yes it's giving constructor energy, and yes we're gonna get through it together π«Ά
This is literally the constructor of std::fisher_f_distribution, and it comes in three iconic flavors. Let's go β¨
β¨ SYNOPSIS β¨
fisher_f_distribution() : fisher_f_distribution(1.0) {} (1)
(since C++11)
explicit fisher_f_distribution( RealType m, RealType n = 1.0 ); (2)
(since C++11)
explicit fisher_f_distribution( const param_type& params ); (3)
(since C++11)
πΈ DESCRIPTION πΈ
Constructs a new distribution object. That's the whole vibe. New object, fresh out the box, main character energy π
- Constructor
(1)is the default one β and look at it, it's delegating tofisher_f_distribution(1.0). Cute, efficient, no notes π - Constructor
(2)usesmandnas the distribution parameters. - Constructor
(3)usesparamsas the distribution parameters.
π PARAMETERS π
mβ the m distribution parameter (degrees of freedom), okurrrnβ the n distribution parameter (degrees of freedom), not me forgetting these are degrees of freedom πparamsβ the distribution parameter set, all bundled up like a little gift π
π¦ Defect reports π¦
so the committee went back and fixed some stuff retroactively β these behavior-changing defect reports got applied to previously published C++ standards. time travel but make it standards-compliant β
P0935R0β applied to C++11. Behavior as published: the default constructor wasexplicit. Correct behavior: it was made implicit. slay, honestly π
ngl bestie, the whole "applied retroactively to previously published C++ standards" thing is real β your old code's behavior can literally change. iykyk π
that's the page!! every constructor, every parameter, every defect report β all present and accounted for, periodt π
source/version and date, as promised: this lil gem is from cppreference.com, dated 2024.06.10, and it's page std::fisher...distribution(3) of the C++ Standard Library manual. kbye, ily, go construct something π§ββοΈπΈ
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms