[Feature Request] Add calculation of incomplete gamma function to numlib
Original Reporter info from Mantis: wp @wpam
-
Reporter name:
Original Reporter info from Mantis: wp @wpam
- Reporter name:
Description:
I am planning to write a wrapper for a more general fitting routine than the polynomial fit found in numlib (when finished it will be posted as an additional procedure for numlib).
For calculation of the goodness-of-fit parameter I need the incomplete gamma function. The attached patch adds gammap and gammaq to the unit spe of numlib.
Additional information:
Code is based on formulas in wikipedia. Results were checked against the procedures of Numerical Recipes.