Boost logo

Boost :

From: Christoph Ludwig (cludwig_at_[hidden])
Date: 2005-05-06 15:48:34


On Fri, May 06, 2005 at 07:16:43PM +0100, Paul A Bristow wrote:
> I have recently posted to the Boost Sandbox vault an update of my collection
> of mathematical constants,
> previously reviewed as a Boost library and ultimately not accepted because
> of
> lack of agreement on how to present the constants, especially for User
> Defined Types,
> and an outbreak of macrophobia.

thanks, I can certainly make use of your library.

I have a nitpick with the docs, though: Could you clarify *which* Zeta function
the zetaTwo and zetaThree constants refer to? My guess is the Riemann Zeta
function and that seems to match with the values you provide.
But there are many other Zeta functions as well. (For example, gives links to eight Zeta
functions.) So it would help to avoid misunderstandings if you identified the
Zeta function you refer to.

Second, there is an error and a typo in the comment following the definition
of zetaTwo:

  // Zeta(2) or Pi^(2/6) = sum(1/n**2, n=1..infinity
                ^^^^^^^^ ^^^

This should read

  // Zeta(2) or Pi^2 / 6 = sum(1/n**2, n=1..infinity)




Boost list run by bdawes at, gregod at, cpdaniel at, john at