octave-bug-tracker
[Top][All Lists]
Advanced

[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: Tue, 03 May 2016 10:56:46 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0

Follow-up Comment #3, bug #47800 (project octave):

I attach xcgmainc.f, a modification of slatec dgamic, which computes the
complementary incomplete Gamma functions. The modifications are

1) transformation into a subroutine (like xgmainc.f by jwe)
2) division by Gamma(A) (not present in dgamic)

It requires d9gmic (not in liboctave/cruft/slatec-fn). When invoked with call
xcgmainc(6.0d0,60.0d0,result) it gives result=6.1802e-20. Am I on the right
way for the incorporation into Octave? Because Matlab allows also
'scaledupper' and 'scaledlower', which I would like to implement. Of course,
the single version is still missing.

(file #37056)
    _______________________________________________________

Additional Item Attachment:

File name: xcgmainc.f                     Size:4 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47800>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]