From: Matthias Klose Date: Sat, 6 Jan 2007 09:56:37 +0000 (+0000) Subject: random (gamma_distribution): Fix typo in formula. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=472017b355ded38484c1e957312791fef1965cfa;p=gcc.git random (gamma_distribution): Fix typo in formula. 2007-01-06 Matthias Klose * include/tr1/random (gamma_distribution): Fix typo in formula. * docs/doxygen/user.cfg.in: Use package amsmath. From-SVN: r120522 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index d1a79955553..15114437ed6 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2007-01-06 Matthias Klose + + * include/tr1/random (gamma_distribution): Fix typo in formula. + * docs/doxygen/user.cfg.in: Use package amsmath. + 2006-12-29 Paolo Carlini PR libstdc++/30226 diff --git a/libstdc++-v3/docs/doxygen/user.cfg.in b/libstdc++-v3/docs/doxygen/user.cfg.in index c5d58a02f47..5a0017810e1 100644 --- a/libstdc++-v3/docs/doxygen/user.cfg.in +++ b/libstdc++-v3/docs/doxygen/user.cfg.in @@ -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 diff --git a/libstdc++-v3/include/tr1/random b/libstdc++-v3/include/tr1/random index d1963940253..72ec79ded61 100644 --- a/libstdc++-v3/include/tr1/random +++ b/libstdc++-v3/include/tr1/random @@ -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 class gamma_distribution