You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/node_modules/@stdlib/math/base/special/gammainc/include/stdlib/math/base/special/gammainc.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ extern "C" {
29
29
#endif
30
30
31
31
/**
32
-
* Computes the incomplete gamma function. The upper tail is calculated via the modified Lentz's method for computing continued fractions, the lower tail using a power expansion.
Copy file name to clipboardExpand all lines: lib/node_modules/@stdlib/math/base/special/gammainc/lib/main.js
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -62,10 +62,11 @@ var upperGammaFraction = require( './upper_gamma_fraction.js' );
62
62
// MAIN //
63
63
64
64
/**
65
-
* Computes the regularized incomplete gamma function. The upper tail is calculated via the modified Lentz's method for computing continued fractions, the lower tail using a power expansion.
65
+
* Computes the regularized incomplete gamma function.
66
66
*
67
67
* ## Notes
68
68
*
69
+
* - The upper tail is calculated via the modified Lentz's method for computing continued fractions, the lower tail using a power expansion.
69
70
* - When `a >= FLOAT64_MAX_NTH_FACTORIAL` and computing the non-normalized incomplete gamma, result is rather hard to compute unless we use logs. There are really two options a) if `x` is a long way from `a` in value then we can reliably use methods 2 and 4 below in logarithmic form and go straight to the result. Otherwise we let the regularized gamma take the strain (the result is unlikely to underflow in the central region anyway) and combine with `lgamma` in the hopes that we get a finite result.
70
71
*
71
72
* @param {NonNegativeNumber} x - function parameter
Copy file name to clipboardExpand all lines: lib/node_modules/@stdlib/math/base/special/gammainc/lib/native.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ var addon = require( './../src/addon.node' );
26
26
// MAIN //
27
27
28
28
/**
29
-
* Computes the incomplete gamma function. The upper tail is calculated via the modified Lentz's method for computing continued fractions, the lower tail using a power expansion.
29
+
* Computes the incomplete gamma function.
30
30
*
31
31
* @private
32
32
* @param {NonNegativeNumber} x - function parameter
* Computes the incomplete gamma function. The upper tail is calculated via the modified Lentz's method for computing continued fractions, the lower tail using a power expansion.
982
+
* Computes the incomplete gamma function.
989
983
*
990
984
* ## Notes
991
985
*
986
+
* - The upper tail is calculated via the modified Lentz's method for computing continued fractions, the lower tail using a power expansion.
992
987
* - When `a >= FLOAT64_MAX_NTH_FACTORIAL` and computing the non-normalized incomplete gamma, result is rather hard to compute unless we use logs. There are really two options a) if `x` is a long way from `a` in value then we can reliably use methods 2 and 4 below in logarithmic form and go straight to the result. Otherwise we let the regularized gamma take the strain (the result is unlikely to underflow in the central region anyway) and combine with `lgamma` in the hopes that we get a finite result.
0 commit comments