HP Forums

Full Version: Gamma function question
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello Everybody,

When I enter Gamma(0.25,0.25) on the HP Prime I get -1:
[attachment=2313]
In xcas I get 0.929323783277:
[attachment=2312]
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
In the Help Menu the Gamma function is only a function of "x", where x is real.

Bill
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.
(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
Anyway, thanks for the replies. In the mean time I can do this:

[attachment=2316]
Reference URL's