Post Reply 
Gamma function question
07-13-2015, 02:35 PM (This post was last modified: 07-13-2015 02:37 PM by roadrunner.)
Post: #1
Gamma function question
Hello Everybody,

When I enter Gamma(0.25,0.25) on the HP Prime I get -1:
   
In xcas I get 0.929323783277:
   
Gamma(0.25,0.75) returns 0.362791168887 in both xcas and prime. Does anyone know why this is occurring and what to do get the same result in prime and xcas? This is on version 8151 emulator.

Road
Find all posts by this user
Quote this message in a reply
07-13-2015, 04:34 PM
Post: #2
RE: Gamma function question
In the Help Menu the Gamma function is only a function of "x", where x is real.

Bill
Find all posts by this user
Quote this message in a reply
07-13-2015, 04:48 PM
Post: #3
RE: Gamma function question
I recently made some changes in upper/lower incomplete Gamma code, trying with the latest source code, I get the same on the Prime emulator as on Xcas.
Find all posts by this user
Quote this message in a reply
07-13-2015, 05:43 PM
Post: #4
RE: Gamma function question
(07-13-2015 04:34 PM)Bill_G Wrote:  In the Help Menu the Gamma function is only a function of "x", where x is real.

Bill

Apparently the incomplete gamma function wasn't documented because the code was ... incomplete. Smile
Find all posts by this user
Quote this message in a reply
07-13-2015, 06:05 PM
Post: #5
RE: Gamma function question
Anyway, thanks for the replies. In the mean time I can do this:

   
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)