|
From: | Lachlan Andrew |
Subject: | [Octave-bug-tracker] [bug #47800] gammainc(x, a, "upper") rounds down to zero if output is below eps |
Date: | Sun, 22 May 2016 11:13:40 +0000 (UTC) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 |
Follow-up Comment #21, bug #47800 (project octave): The the handling of arrays is really nice -- not a single for loop! Here is an updated version that copies most of the documentation from the existing C++ implementation. I hadn't realised previously that the current implementation is in C++. That presumably will make it much faster than the current one. Would you propose to replace the existing C++ function by this one, or would you want to call the C++ function for tail=="lower"? Or should this be translated this into C++, now that you have the algorithms selected? (file #37225) _______________________________________________________ Additional Item Attachment: File name: ngammainc.m Size:9 KB _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?47800> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |