# custom_incomplete_gamma¶

halotools.empirical_models.custom_incomplete_gamma(a, x)[source] [edit on github]

Incomplete gamma function.

For the case covered by scipy, a > 0, scipy is called. Otherwise the gamma function recurrence relations are called, extending the scipy behavior.

Parameters: a : array_like x : array_like gamma : array_like

Examples

>>> a, x = 1, np.linspace(1, 10, 100)
>>> g = custom_incomplete_gamma(a, x)
>>> a = 0
>>> g = custom_incomplete_gamma(a, x)
>>> a = -1
>>> g = custom_incomplete_gamma(a, x)