std::student_t_distribution
来自cppreference.com
![]() |
该页由英文版wiki使用Google Translate机器翻译而来。
该翻译可能存在错误或用词不当。鼠标停留在文本上可以看到原版本。你可以帮助我们修正错误或改进翻译。参见说明请点击这里. |
在头文件 <random> 中定义
|
||
template< class RealType = double > class student_t_distribution; |
(C++11 起) | |
产生的随机浮点值x,根据概率密度函数分布
原文:
Produces random floating-point values x, distributed according to probability density function:
- P(x|n) =
·1 √nπ
· ⎛Γ(
)n+1 2 Γ(
)n 2
⎜
⎝1+
⎞x2 n
⎟
⎠ -n+1 2
其中n称为程度的“自由”的数目。这种分布估计“,意思是”一个未知的正态分布的n+1独立的测量,每个未知标准偏差的附加误差,在物理测量值。或者,可替代地,当估计未知的未知标准偏差的,给定的n+1样品的正态分布平均值.
原文:
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.
目录 |
[编辑] 会员类型
会员类型
|
Definition |
result_type
|
RealType |
param_type
|
的类型的参数集,未指定
原文: the type of the parameter set, unspecified |
[编辑] 成员函数
构建新的分配 (公共成员函数) | |
复位内部状态的分布 原文: resets the internal state of the distribution (公共成员函数) | |
| |
生成下一个随机数的分布 原文: generates the next random number in the distribution (公共成员函数) | |
| |
返回“N”分布参数(自由度) 原文: returns the n distribution parameter (degrees of freedom) (公共成员函数) | |
获取或设置的分布参数对象 原文: gets or sets the distribution parameter object (公共成员函数) | |
返回的最低可能产生的价值 原文: returns the minimum potentially generated value (公共成员函数) | |
返回的最大潜在价值 原文: returns the maximum potentially generated value (公共成员函数) |
[编辑] 非成员函数
比较两个分布对象 (函数) | |
执行流输入和输出的伪随机数分布 原文: performs stream input and output on pseudo-random number distribution (函数) |
[编辑] 示例
本章尚未完成 原因:暂无示例 |
[编辑] 外部链接
Weisstein, Eric W. "Student's t-Distribution.",从MathWorld - Wolfram网络资源.
原文:
Weisstein, Eric W. "Student's t-Distribution." From MathWorld--A Wolfram Web Resource.