stdstudent_t_distribution(3)
std::student_t_distribution - std::student_t_distribution
Synopsis
Defined in header <random>
template< class RealType = double > (since C++11)
class student_t_distribution;Produces random floating-point values x, distributed according to probability density function:
(p(x|n) = \frac{1}{\sqrt{n\pi} } \cdot \frac{\Gamma(\frac{n+1}{2})}{\Gamma(\frac{n}{2})} \cdot (1+\frac{x^2}{n})^{-\frac{n+1}{2} } )p(x|n) = Template parameters
RealType - The result type generated by the generator. The effect is undefined if this is not one of float, double, or long double.
Member types
Member type Definition result_type RealType param_type the type of the parameter set, see RandomNumberDistribution.
Member functions
Generation
Characteristics
Non-member functions
Example
This section is incomplete Reason: no example
External links
Weisstein,Eric_W."Student’s_t-Distribution." From MathWorld–A Wolfram Web Resource.