From: Jens Maurer (Jens.Maurer_at_[hidden])
Date: 2001-10-22 17:11:06
> The documentation of the lognormal_distribution constructor indicates that the second and third arguments are the mean and standard deviation parameters (the desired mean and standard deviation of the log of the generated variables). Actually, the second and third arguments of the constructor are the mean and standard deviation of the lognormal distribution (the desired mean and standard deviation of the generated variables). The documentation for the function call operator refers to a mean and sigma that should differ from the mean and sigma referred to in the constructor.
There's the obvious cut-and-paste error where the docs talk about
"normal_distribution" instead of "lognormal_distribution". The docs for
"lognormal_distribution" should not refer to normal_distribution in any
Your message seems to indicate that there's a further mismatch between
the semantics of the sigma, mean referred to in the constructor
and their actual meaning in p(x) while defining operator().
I don't understand that. Could you please be more specific? In particular,
the docs don't claim that sigma, mean are the mean and standard deviation of
the distribution (it would be nice if they would be, though).
In short, am I using sigma, mean wrongly when talking about p(x)?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk