18 Jan
2002
18 Jan
'02
6:05 p.m.
On Fri, 18 Jan 2002, Markus Nullmeier wrote:
being unware of GiNaC's implemetation, I wrote my own Bernoulli number function after reading Peter Stone's straightforward description in his Maple Worksheet http://minyos.its.rmit.edu.au/~e05254/MAPLE/ENGMATH/TAYLOR/BERNUM.MWS
Later I adapted my function to bernoulli() in numeric.cpp, as it turned out to be about twice as fast as GiNaC 1.0.3 (gcc 2.95, -O2).
Thus maybe you'll find the enclosed patch useful in some way or the other. Hopefully no hidden bugs remain. [...]
Cool. Fast. It's included now. Thanks! -richy. -- Richard B. Kreckel <Richard.Kreckel@Uni-Mainz.DE> <http://wwwthep.physik.uni-mainz.de/~kreckel/>