public inbox for gsl-discuss@sourceware.org
 help / color / mirror / Atom feed
* gsl-1.2
@ 2002-11-03  7:17 Alexander Babansky
  2002-11-03 22:11 ` gsl-1.2 Brian Gough
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Babansky @ 2002-11-03  7:17 UTC (permalink / raw)
  To: gsl-discuss

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: gsl-1.2
  2002-11-03  7:17 gsl-1.2 Alexander Babansky
@ 2002-11-03 22:11 ` Brian Gough
  0 siblings, 0 replies; 2+ messages in thread
From: Brian Gough @ 2002-11-03 22:11 UTC (permalink / raw)
  To: Alexander Babansky; +Cc: gsl-discuss

Alexander Babansky writes:
 > 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.

Thanks, I'll correct it.
regards
Brian Gough

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-11-03 15:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-03  7:17 gsl-1.2 Alexander Babansky
2002-11-03 22:11 ` gsl-1.2 Brian Gough

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).