Skip to content

Commit dded2dd

Browse files
authored
Update gamma_inc documentation: Q(x,a) should be Q(a,x). (#414)
1 parent 22b9fa1 commit dded2dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gamma_inc.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -843,7 +843,7 @@ P(a,x)=\\frac{1}{\\Gamma (a)} \\int_{0}^{x} e^{-t}t^{a-1} dt.
843843
```
844844
and ``q=Q(a,x)`` is the Incomplete gamma function ratio given by:
845845
```math
846-
Q(x,a)=\\frac{1}{\\Gamma (a)} \\int_{x}^{\\infty} e^{-t}t^{a-1} dt.
846+
Q(a,x)=\\frac{1}{\\Gamma (a)} \\int_{x}^{\\infty} e^{-t}t^{a-1} dt.
847847
```
848848
In terms of these, the lower incomplete gamma function is
849849
``\\gamma(a,x) = P(a,x) \\Gamma(a)`` and the upper incomplete

0 commit comments

Comments
 (0)