random (gamma_distribution): Fix typo in formula.

2007-01-06  Matthias Klose  <doko@debian.org>

        * include/tr1/random (gamma_distribution): Fix typo in formula.
        * docs/doxygen/user.cfg.in: Use package amsmath.

From-SVN: r120522
This commit is contained in:
Matthias Klose 2007-01-06 09:56:37 +00:00 committed by Matthias Klose
parent fc40d49c4e
commit 472017b355
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2007-01-06 Matthias Klose <doko@debian.org>
* include/tr1/random (gamma_distribution): Fix typo in formula.
* docs/doxygen/user.cfg.in: Use package amsmath.
2006-12-29 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/30226

View File

@ -902,7 +902,7 @@ PAPER_TYPE = letter
# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX
# packages that should be included in the LaTeX output.
EXTRA_PACKAGES =
EXTRA_PACKAGES = amsmath
# The LATEX_HEADER tag can be used to specify a personal LaTeX header for
# the generated latex document. The header should contain everything until

View File

@ -2270,7 +2270,7 @@ _GLIBCXX_BEGIN_NAMESPACE(tr1)
* @brief A gamma continuous distribution for random numbers.
*
* The formula for the gamma probability mass function is
* @f$ p(x) = \frac{1}{\Gamma(\alpha)} x^{\alpha - 1} e^{-x} } @f$.
* @f$ p(x) = \frac{1}{\Gamma(\alpha)} x^{\alpha - 1} e^{-x} @f$.
*/
template<typename _RealType = double>
class gamma_distribution