Commit 53bc54ec by Edward Smith-Rowland Committed by Paolo Carlini

random.h: Fix equation in comment of Weibull distro.

2009-12-29  Edward Smith-Rowland  <3dw4rd@verizon.net>

	* include/bits/random.h: Fix equation in comment of Weibull distro.

From-SVN: r155515
parent b6c524d0
2009-12-29 Edward Smith-Rowland <3dw4rd@verizon.net>
* include/bits/random.h: Fix equation in comment of Weibull distro.
2009-12-29 Paolo Carlini <paolo.carlini@oracle.com>
* include/std/bitset (bitset<>::to_ullong, _M_do_to_ullong): Add.
......
......@@ -3753,8 +3753,8 @@ namespace std
* @brief A weibull_distribution random number distribution.
*
* The formula for the normal probability density function is
* @f$ p(x|\alpha,\beta) = \frac{a}{b} (frac{x}{b})^{a-1}
* \exp{(-(frac{x}{b})^a)} @f$.
* @f$ p(x|\alpha,\beta) = \frac{\alpha}{\beta} (\frac{x}{\beta})^{\alpha-1}
* \exp{(-(\frac{x}{\beta})^\alpha)} @f$.
*/
template<typename _RealType = double>
class weibull_distribution
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment