[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #47800] gammainc(x, a, "upper") rounds down to
From: |
Marco Caliari |
Subject: |
[Octave-bug-tracker] [bug #47800] gammainc(x, a, "upper") rounds down to zero if output is below eps |
Date: |
Mon, 9 May 2016 13:52:27 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0 |
Follow-up Comment #14, bug #47800 (project octave):
Hi,
I include my final proposal. It has corner cases first, then a series and
finally a continued fraction expansion. All tests gammainc(200,200,tail) are
passed with at most relative error 78*eps. I used all the ideas discussed here
(thanks Nir). Two points are still missing
1) accurate implementation of D(a,x) (seems hard to implement)
2) Matlab is *exact* for a integer. I found a close form
(http://mathworld.wolfram.com/IncompleteGammaFunction.html, formula (2)), but
can't implement without over/underflow.
(file #37113)
_______________________________________________________
Additional Item Attachment:
File name: ngammainc.m Size:4 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?47800>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #47800] gammainc(x, a, "upper") rounds down to zero if output is below eps, (continued)
- [Octave-bug-tracker] [bug #47800] gammainc(x, a, "upper") rounds down to zero if output is below eps, Mike Miller, 2016/05/03
- [Octave-bug-tracker] [bug #47800] gammainc(x, a, "upper") rounds down to zero if output is below eps, Mike Miller, 2016/05/03
- [Octave-bug-tracker] [bug #47800] gammainc(x, a, "upper") rounds down to zero if output is below eps, Marco Caliari, 2016/05/04
- [Octave-bug-tracker] [bug #47800] gammainc(x, a, "upper") rounds down to zero if output is below eps, Marco Caliari, 2016/05/04
- [Octave-bug-tracker] [bug #47800] gammainc(x, a, "upper") rounds down to zero if output is below eps, Nir Krakauer, 2016/05/04
- [Octave-bug-tracker] [bug #47800] gammainc(x, a, "upper") rounds down to zero if output is below eps, Marco Caliari, 2016/05/05
- [Octave-bug-tracker] [bug #47800] gammainc(x, a, "upper") rounds down to zero if output is below eps, Nir Krakauer, 2016/05/05
- [Octave-bug-tracker] [bug #47800] gammainc(x, a, "upper") rounds down to zero if output is below eps, Colin Macdonald, 2016/05/06
- [Octave-bug-tracker] [bug #47800] gammainc(x, a, "upper") rounds down to zero if output is below eps, Marco Caliari, 2016/05/06
- [Octave-bug-tracker] [bug #47800] gammainc(x, a, "upper") rounds down to zero if output is below eps, Nir Krakauer, 2016/05/06
- [Octave-bug-tracker] [bug #47800] gammainc(x, a, "upper") rounds down to zero if output is below eps,
Marco Caliari <=
- [Octave-bug-tracker] [bug #47800] gammainc(x, a, "upper") rounds down to zero if output is below eps, Nir Krakauer, 2016/05/09
- [Octave-bug-tracker] [bug #47800] gammainc(x, a, "upper") rounds down to zero if output is below eps, Lachlan Andrew, 2016/05/19
- [Octave-bug-tracker] [bug #47800] gammainc(x, a, "upper") rounds down to zero if output is below eps, Nir Krakauer, 2016/05/19
- [Octave-bug-tracker] [bug #47800] gammainc(x, a, "upper") rounds down to zero if output is below eps, Marco Caliari, 2016/05/20
- [Octave-bug-tracker] [bug #47800] gammainc(x, a, "upper") rounds down to zero if output is below eps, Lachlan Andrew, 2016/05/20
- [Octave-bug-tracker] [bug #47800] gammainc(x, a, "upper") rounds down to zero if output is below eps, Nir Krakauer, 2016/05/20
- [Octave-bug-tracker] [bug #47800] gammainc(x, a, "upper") rounds down to zero if output is below eps, Lachlan Andrew, 2016/05/22
- [Octave-bug-tracker] [bug #47800] gammainc(x, a, "upper") rounds down to zero if output is below eps, Marco Caliari, 2016/05/23
- [Octave-bug-tracker] [bug #47800] gammainc(x, a, "upper") rounds down to zero if output is below eps, Nir Krakauer, 2016/05/24
- [Octave-bug-tracker] [bug #47800] gammainc(x, a, "upper") rounds down to zero if output is below eps, Marco Caliari, 2016/05/24