Difference between revisions of "cpp/numeric/random/fisher f distribution"
From cppreference.com
m (Shorten template names. Use {{lc}} where appropriate.) |
m (Update links.) |
||
Line 21: | Line 21: | ||
===Member functions=== | ===Member functions=== | ||
{{dsc begin}} | {{dsc begin}} | ||
− | {{dsc inc | cpp/numeric/random/distribution/ | + | {{dsc inc | cpp/numeric/random/distribution/dsc constructor | fisher_f_distribution}} |
− | {{dsc inc | cpp/numeric/random/distribution/ | + | {{dsc inc | cpp/numeric/random/distribution/dsc reset | fisher_f_distribution}} |
{{dsc h2 | Generation}} | {{dsc h2 | Generation}} | ||
− | {{dsc inc | cpp/numeric/random/distribution/ | + | {{dsc inc | cpp/numeric/random/distribution/dsc operator() | fisher_f_distribution}} |
{{dsc h2 | Characteristics}} | {{dsc h2 | Characteristics}} | ||
− | {{dsc inc | cpp/numeric/random/fisher_f_distribution/ | + | {{dsc inc | cpp/numeric/random/fisher_f_distribution/dsc param m}} |
− | {{dsc inc | cpp/numeric/random/fisher_f_distribution/ | + | {{dsc inc | cpp/numeric/random/fisher_f_distribution/dsc param n}} |
− | {{dsc inc | cpp/numeric/random/distribution/ | + | {{dsc inc | cpp/numeric/random/distribution/dsc param | fisher_f_distribution}} |
− | {{dsc inc | cpp/numeric/random/distribution/ | + | {{dsc inc | cpp/numeric/random/distribution/dsc min | fisher_f_distribution}} |
− | {{dsc inc | cpp/numeric/random/distribution/ | + | {{dsc inc | cpp/numeric/random/distribution/dsc max | fisher_f_distribution}} |
{{dsc end}} | {{dsc end}} | ||
===Non-member functions=== | ===Non-member functions=== | ||
{{dsc begin}} | {{dsc begin}} | ||
− | {{dsc inc | cpp/numeric/random/distribution/ | + | {{dsc inc | cpp/numeric/random/distribution/dsc operator_cmp | fisher_f_distribution}} |
− | {{dsc inc | cpp/numeric/random/distribution/ | + | {{dsc inc | cpp/numeric/random/distribution/dsc operator_ltltgtgt | fisher_f_distribution}} |
{{dsc end}} | {{dsc end}} | ||
Revision as of 22:19, 31 May 2013
Defined in header <random>
|
||
template< class RealType = double > class fisher_f_distribution; |
(since C++11) | |
The fisher_f_distribution
class is a Template:concept that produces random numbers according to the f-distribution:
- p(x;m,n) =
(m/n)m/2 x(m/2)-1 (1+Γ((m+n)/2) Γ(m/2) Γ(n/2)
)-(m+n)/2mx n
m and n are the degrees of freedom.
Contents |
Member types
Member type | Definition |
result_type
|
RealType |
param_type
|
the type of the parameter set, unspecified |
Member functions
(C++11) |
constructs new distribution (public member function) |
(C++11) |
resets the internal state of the distribution (public member function) |
Generation | |
(C++11) |
generates the next random number in the distribution (public member function) |
Characteristics | |
(C++11) |
gets or sets the distribution parameter object (public member function) |
(C++11) |
returns the minimum potentially generated value (public member function) |
(C++11) |
returns the maximum potentially generated value (public member function) |
Non-member functions
(C++11)(C++11)(removed in C++20) |
compares two distribution objects (function) |
(C++11) |
performs stream input and output on pseudo-random number distribution (function template) |
Example
This section is incomplete Reason: no example |
External links
Weisstein, Eric W. "F-Distribution." From MathWorld--A Wolfram Web Resource.