Topic: Normal distribution enhacements in C++ technical report


Author: apm35@student.open.ac.uk (apm)
Date: Fri, 14 May 2004 00:08:15 +0000 (UTC)
Raw View
Has anyone looked at the C++ technical report concerned with proposed
additions to the language? There is a tonne of stuff in there
including hash containers, various maths routine, random number
generation etc. There is also mention of stuff to support normal
distributions. However, unless there is something wrong with my maths
the TR describes a gaussian distribution rather than a normal
distribution. AFAIK, the later is the formal that has been adjusted to
have a mean of zero and a std deviation of unity. Perhaps the TR need
correcting?

Regards,

Andrew Marlow

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html                       ]





Author: petebecker@acm.org (Pete Becker)
Date: Fri, 14 May 2004 02:20:21 +0000 (UTC)
Raw View
apm wrote:
>
> Has anyone looked at the C++ technical report concerned with proposed
> additions to the language? There is a tonne of stuff in there
> including hash containers, various maths routine, random number
> generation etc. There is also mention of stuff to support normal
> distributions. However, unless there is something wrong with my maths
> the TR describes a gaussian distribution rather than a normal
> distribution. AFAIK, the later is the formal that has been adjusted to
> have a mean of zero and a std deviation of unity. Perhaps the TR need
> correcting?
>

This is an area where names sometimes vary, but the name "normal
distribution" as used in TR1 is also used the same way in other places.
For example, see
www.itl.nist.gov/div898/handbook/eda/section3/eda3661.htm, which calls
that formula a "normal distribution" and says that the special case
where the mean is 0 and the deviation is 1 is a "standard normal
distribution."

--

Pete Becker
Dinkumware, Ltd. (http://www.dinkumware.com)

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html                       ]





Author: AlbertoBarbati@libero.it (Alberto Barbati)
Date: Fri, 14 May 2004 15:02:46 +0000 (UTC)
Raw View
Pete Becker wrote:
>
> This is an area where names sometimes vary, but the name "normal
> distribution" as used in TR1 is also used the same way in other places.
> For example, see
> www.itl.nist.gov/div898/handbook/eda/section3/eda3661.htm, which calls
> that formula a "normal distribution" and says that the special case
> where the mean is 0 and the deviation is 1 is a "standard normal
> distribution."
>

Same terminology here:

http://en.wikipedia.org/wiki/Normal_distribution

where it's also said explicitly that "[The normal distribution] is also
called the Gaussian distribution, especially in physics and engineering".

Alberto

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html                       ]





Author: apm35@student.open.ac.uk (apm)
Date: Fri, 14 May 2004 22:51:45 +0000 (UTC)
Raw View
petebecker@acm.org (Pete Becker) wrote in message news:<40A41351.E0D38D6D@acm.org>...
> apm wrote:
> >
> > However, unless there is something wrong with my maths
> > the TR describes a gaussian distribution rather than a normal
> > distribution. AFAIK, the later is the formal that has been adjusted to
> > have a mean of zero and a std deviation of unity. Perhaps the TR need
> > correcting?
>
> This is an area where names sometimes vary, but the name "normal
> distribution" as used in TR1 is also used the same way in other places.
> For example, see
> www.itl.nist.gov/div898/handbook/eda/section3/eda3661.htm, which calls
> that formula a "normal distribution" and says that the special case
> where the mean is 0 and the deviation is 1 is a "standard normal
> distribution."

I stand corrected. Thanks for the info!

-Andrew M.

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html                       ]





Author: walter@waltertross.com (Walter Tross)
Date: Sat, 15 May 2004 03:09:49 +0000 (UTC)
Raw View
apm 2004-05-14 :

> Has anyone looked at the C++ technical report concerned with proposed
> additions to the language? There is a tonne of stuff in there
> including hash containers, various maths routine, random number
> generation etc. There is also mention of stuff to support normal
> distributions. However, unless there is something wrong with my maths
> the TR describes a gaussian distribution rather than a normal
> distribution. AFAIK, the later is the formal that has been adjusted to
> have a mean of zero and a std deviation of unity. Perhaps the TR need
> correcting?

I don't have my math and physics books at hand right now, but perhaps it
helps to know that in "Numerical Recipes in C++" (Press, Teukolsky,
Vetterling, Flannery) the terms "Gaussian" and "normal" are used
interchangeably?

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html                       ]