std::student_t_distribution (3) - Linux Manuals
std::student_t_distribution: std::student_t_distribution
NAME
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:
where n is known as the number of degrees of freedom. This distribution is used when estimating the mean of an unknown normally distributed value given n+1 independent measurements, each with additive errors of unknown standard deviation, as in physical measurements. Or, alternatively, when estimating the unknown mean of a normal distribution with unknown standard deviation, given n+1 samples.
std::student_t_distribution satisfies all requirements of RandomNumberDistribution
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
constructor (public member function)
reset (public member function)
Generation
operator() (public member function)
Characteristics
n (public member function)
param (public member function)
min (public member function)
max (public member function)
Non-member functions
operator== (function)
operator!=
operator<< (function template)
operator>>
Example
This section is incomplete
Reason: no example
External links
Weisstein,_Eric_W._"Student's_t-Distribution." From MathWorld--A Wolfram Web Resource.