# Boost-Commit :

Subject: [Boost-commit] svn:boost r50131 - sandbox/math_toolkit/libs/math/doc/sf_and_dist/distributions
From: thijs_at_[hidden]
Date: 2008-12-05 07:43:56

Author: thijs
Date: 2008-12-05 07:43:56 EST (Fri, 05 Dec 2008)
New Revision: 50131
URL: http://svn.boost.org/trac/boost/changeset/50131

Log:
added ref to equation and two images
Text files modified:
sandbox/math_toolkit/libs/math/doc/sf_and_dist/distributions/laplace.qbk | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)

Modified: sandbox/math_toolkit/libs/math/doc/sf_and_dist/distributions/laplace.qbk
==============================================================================
--- sandbox/math_toolkit/libs/math/doc/sf_and_dist/distributions/laplace.qbk (original)
+++ sandbox/math_toolkit/libs/math/doc/sf_and_dist/distributions/laplace.qbk 2008-12-05 07:43:56 EST (Fri, 05 Dec 2008)
@@ -25,7 +25,7 @@

}} // namespaces

-The laplace distribution is the distribution that is the difference betweeen
+The laplace distribution is the distribution that is the difference between
two independent identically distributed exponential distributed variables.
It is also called the double exponential distribution.

@@ -35,24 +35,24 @@
and added to math.qbk to be used.

-For location and scale parameters /m/ and /s/ it is defined by the
+For location parameter [mu][space] and scale parameters [sigma][space] it is defined by the
probability density function:

-[equation laplace_ref]
+[equation laplace_pdf]

The location and scale parameters are equivalent to the mean and
standard deviation of the logarithm of the random variable.

The following graph illustrates the effect of the location
parameter on the PDF, note that the range of the random
-variable remains \[0,+[infin]\] irrespective of the value of the
+variable remains \[-[infin],+[infin]\] irrespective of the value of the
location parameter:

-[graph laplace_pdf1]
+[graph laplace_pdf_mu]

The next graph illustrates the effect of the scale parameter on the PDF:

-[graph laplace_pdf2]
+[graph laplace_pdf_sigma]

[h4 Member Functions]