STD::FISHER_F_DISTRIBUTION(3cxx)
π NAME π
Okay bestie, this is the std::fisher_f_...on< _RealType >(3cxx) manual page, and itβs all about std::fisher_f_distribution< _RealType > β a fisher_f_distribution random number distribution. Literally C++ random-number royalty, no cap. πβ¨
β¨ SYNOPSIS β¨
#include <random>
π§Έ Classes
struct param_type
π Public Types
typedef _RealType result_type
π Public Member Functions
- the
__m/__nconstructor β
fisher_f_distribution (_RealType __m, _RealType __n=_RealType(1))
- the
param_typeconstructor β
fisher_f_distribution (const param_type &__p)
__generateoverload 1 β
template<typename _ForwardIterator , typename
_UniformRandomNumberGenerator > void __generate (_ForwardIterator
__f, _ForwardIterator __t, _UniformRandomNumberGenerator &__urng)
__generateoverload 2 β
template<typename _ForwardIterator , typename
_UniformRandomNumberGenerator > void __generate (_ForwardIterator
__f, _ForwardIterator __t, _UniformRandomNumberGenerator &__urng,
const param_type &__p)
__generateoverload 3 β
template<typename _UniformRandomNumberGenerator > void __generate
(result_type *__f, result_type *__t, _UniformRandomNumberGenerator
&__urng)
__generateoverload 4 β
template<typename _UniformRandomNumberGenerator > void __generate
(result_type *__f, result_type *__t, _UniformRandomNumberGenerator
&__urng, const param_type &__p)
m () constβ
_RealType m () const
max () constβ returns the least upper bound value of the distribution. π
result_type max () const
min () constβ returns the greatest lower bound value of the distribution. π
result_type min () const
n () constβ
_RealType n () const
operator()overload 1 β generating function, bestie. π²
template<typename _UniformRandomNumberGenerator > result_type operator()
(_UniformRandomNumberGenerator &__urng)
operator()overload 2 β
template<typename _UniformRandomNumberGenerator > result_type operator()
(_UniformRandomNumberGenerator &__urng, const param_type &__p)
param () constβ returns the parameter set of the distribution.
param_type param () const
param (const param_type &__param)β sets the parameter set of the distribution.
void param (const param_type &__param)
reset ()β resets the distribution state.
void reset ()
π«Ά Friends
operator<<β inserts a fisher_f_distribution random number distribution__xinto the output stream__os.
template<typename _RealType1 , typename _CharT , typename _Traits >
std::basic_ostream< _CharT, _Traits > & operator<<
(std::basic_ostream< _CharT, _Traits > &__os, const
std::fisher_f_distribution< _RealType1 > &__x)
operator==β returns true if two Fisher f distributions have the same parameters and the sequences that would be generated are equal.
bool operator== (const fisher_f_distribution &__d1, const
fisher_f_distribution &__d2)
operator>>β extracts a fisher_f_distribution random number distribution__xfrom the input stream__is.
template<typename _RealType1 , typename _CharT , typename _Traits >
std::basic_istream< _CharT, _Traits > & operator>>
(std::basic_istream< _CharT, _Traits > &__is,
std::fisher_f_distribution< _RealType1 > &__x)
πΈ Detailed Description πΈ
The class template is:
template<typename _RealType = double>
And class std::fisher_f_distribution< _RealType > is a fisher_f_distribution random number distribution. Itβs giving statistical icon behavior. πβ¨
The formula for the normal probability mass function is:
p(x|m,n) = ac{Gamma((m+n)/2)}{Gamma(m/2)Gamma(n/2)}
(ac{m}{n})^{m/2} x^{(m/2)-1}
(1 + ac{mx}{n})^{-(m+n)/2} ]
And yes: Since C++11. π
π Member Typedef Documentation π
template<typename _RealType = double> typedef _RealType
std::fisher_f_distribution< _RealType >::result_type
This is the type of the range of the distribution. Thatβs the whole typedef moment, and it ate. π
π Member Function Documentation π
max () constβ
template<typename _RealType = double> result_type
std::fisher_f_distribution< _RealType >::max () const [inline]
Returns the least upper bound value of the distribution. References std::numeric_limits< _Tp >::max().
min () constβ
template<typename _RealType = double> result_type
std::fisher_f_distribution< _RealType >::min () const [inline]
Returns the greatest lower bound value of the distribution.
operator()β
template<typename _RealType = double> template<typename
_UniformRandomNumberGenerator > result_type std::fisher_f_distribution<
_RealType >::operator() (_UniformRandomNumberGenerator & __urng)
[inline]
Generating functions. Thatβs literally what the source says, bestie. π²
param () constβ
template<typename _RealType = double> param_type
std::fisher_f_distribution< _RealType >::param () const [inline]
Returns the parameter set of the distribution. Referenced by std::normal_distribution< double >::operator()().
param (const param_type & __param)β
template<typename _RealType = double> void std::fisher_f_distribution<
_RealType >::param (const param_type & __param) [inline]
Sets the parameter set of the distribution.
- Parameters:
__paramβ the new parameter set of the distribution.
reset ()β
template<typename _RealType = double> void std::fisher_f_distribution<
_RealType >::reset () [inline]
Resets the distribution state. References std::gamma_distribution< _RealType >::reset().
π¦ Friends And Related Symbol Documentation π¦
operator<<β
template<typename _RealType = double> template<typename _RealType1 ,
typename _CharT , typename _Traits > std::basic_ostream< _CharT, _Traits
> & operator<< (std::basic_ostream< _CharT, _Traits > & __os, const
std::fisher_f_distribution< _RealType1 > & __x) [friend]
Inserts a fisher_f_distribution random number distribution __x into the output stream __os.
- Parameters:
__osβ an output stream.__xβ a fisher_f_distribution random number distribution.
- Returns: the output stream with the state of
__xinserted or in an error state.
operator==β
template<typename _RealType = double> bool operator== (const
fisher_f_distribution< _RealType > & __d1, const fisher_f_distribution<
_RealType > & __d2) [friend]
Return true if two Fisher f distributions have the same parameters and the sequences that would be generated are equal.
operator>>β
template<typename _RealType = double> template<typename _RealType1 ,
typename _CharT , typename _Traits > std::basic_istream< _CharT, _Traits
> & operator>> (std::basic_istream< _CharT, _Traits > & __is,
std::fisher_f_distribution< _RealType1 > & __x) [friend]
Extracts a fisher_f_distribution random number distribution __x from the input stream __is.
- Parameters:
__isβ an input stream.__xβ a fisher_f_distribution random number generator engine.
- Returns: the input stream with
__xextracted or in an error state.
π Author π
Generated automatically by Doxygen for libstdc++ from the source code. So yes, the robots wrote it, but Iβm here to make it cute. π€π
Sign-off from libstd Β· std::fisher_f_...on< _RealType >(3cxx) β stay sparkly, bestie. πβ¨
π¦ where this page comes from
- ubuntu noble: libstdc++-14-doc 14-20240412-0ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms