This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
gsl-1.2
- From: "Alexander Babansky" <babansky at mail dot ru>
- To: <gsl-discuss at sources dot redhat dot com>
- Date: Sat, 2 Nov 2002 02:39:34 -0500
- Subject: gsl-1.2
Hi,
I've found a small bug in Ei(x) function Reference manual(section
Exponential Integral)
In definition of Ei(x) it should be:
Ei(x) := - PV(\int_{-x}^\infty dt \exp(-t)/t)
(with "-" sign).
True mathematical definition of Ei(x) is:
Ei(x) := PV(\int_{-infinity}^x dt \exp(t)/t
When you change varibles, x-> -x you will get that "-" sign.
Bug is only in Reference manual not in Ei(x) itself.
Sincerely,
Alex