This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]