cppannotations/annotations/yo/stl/studentt.yo
Frank B. Brokken 777b182edd Moved all files but 'excluded', 'sf', and 'sourcetar' to ./annotations
This allowed me to standardize the sourcetar and sf/* scripts: the base
    directory (containing ./git) is now empty, except for maintenance scripts,
    while the source files and build scripts of the annotations are stored in
    a subdirectory of their own.
2013-05-29 20:44:08 +02:00

33 lines
1.1 KiB
Text

The ti(student_t_distribution<RealType = double>) is a probability
distribution that is used when estimating the mean of a normally distributed
population from small sample sizes.
It is characterized by one parameter: the degrees of freedom, which is equal
to the sample size - 1.
Defined types:
verb(
typedef RealType result_type;
struct param_type
{
explicit param_type(RealType n = RealType(1));
RealType n() const; // The degrees of freedom
};
)
Constructors and members:
itemization(
itt(student_t_distribution<>(RealType n = RealType(1)))
constructs a student_t distribution with indicated degrees of freedom.
itt(student_t_distribution<>(param_type const &param))
constructs a student_t distribution according to the values stored in
the tt(param) struct.
itt(RealType n() const)nl()
returns the degrees of freedom;
itt(result_type min() const)nl()
returns 0;
itt(result_type max() const)nl()
returns the maximum value of tt(result_type);
)