std::student_t_distribution (3) - Linux Man Pages
Defined in header <random>
template< class RealType = double > (since C++11)
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
RealType - The result type generated by the generator. The effect is undefined if this is not one of float, double, or long double.
Member type Definition
param_type the type of the parameter set, see RandomNumberDistribution.
constructor (public member function)
reset (public member function)
operator() (public member function)
n (public member function)
param (public member function)
min (public member function)
max (public member function)
operator<< (function template)
This section is incomplete
Reason: no example
Weisstein,_Eric_W._"Student's_t-Distribution." From MathWorld--A Wolfram Web Resource.