If a == 0 and x == 0, GamL(0, 0) = 0.
Else if a is a real integer <= zero, "Cannot take GamL(a, x) if a is an integer <= zero, except GamL(0, 0) = 0".
Else if x == 0, GamL(a, 0) = 0 if a is not a negative real integer.
Else if a.i == 0 and x.i == 0 and x.r >= 0, use the real GamL(a.r, x.r) function.
Else if a is a real integer <= zero, "Cannot take GamL(a, x) if a is an integer <= zero, except GamL(0, 0) = 0"
Else if x < a + 1 or x.r < 100, compute GamL(a, x) by series.
Else compute GamU(a, x) by continued fraction, GamL(a, x) = Gam(a) − GamU(a, x).
Return to Complex Computations
Return to Harry's Home Page