mirror of
https://gitlab.com/fbb-git/cppannotations
synced 2024-11-16 07:48:44 +01:00
26563c3802
git-svn-id: https://cppannotations.svn.sourceforge.net/svnroot/cppannotations/trunk@494 f6dd340e-d3f9-0310-b409-bdd246841980
33 lines
1.1 KiB
Text
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 ¶m))
|
|
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);
|
|
)
|