Quantcast
Channel: Math.NET Numerics
Viewing all articles
Browse latest Browse all 971

Created Unassigned: is gammaupperincomplete correct? [5732]

$
0
0
When using the following values...

double a = 0;
double x = 0.2247;
double ans = MathNet.Numerics.SpecialFunctions.GammaUpperIncomplete(a, x);

...I am getting an answer of infinity.

This site: http://keisan.casio.com/exec/system/1180573447

...gives me the correct answer of 1.128

When I numerically integrate I also get an answer of approx. 1.128

What am I doing wrong when using your incomplete gamma function? The problem centers around using a value for a of zero.

Thanks! Love your math library!



Viewing all articles
Browse latest Browse all 971

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>