igamma#
- ivy.igamma(a, /, *, x=None, out=None)[source]#
Compute the regularized lower gamma function of
a
andx
.- Parameters:
- Return type:
- Returns:
ret – The lower incomplete gamma function of the array elements.
Examples
>>> a = ivy.array([2.5]) >>> x = ivy.array([1.7, 1.2]) >>> a.igamma(x) ivy.array([0.3614, 0.2085])
- Array.igamma(self, /, *, x, out=None)[source]#
ivy.Array instance method variant of ivy.igamma. This method simply wraps the function, and so the docstring for ivy.igamma also applies to this method with minimal changes.
- Parameters:
self (
Array
) – Input array.x (
Union
[Array
,NativeArray
]) – An additional input array. x has the same type as a.out (
Optional
[Array
], default:None
) – optional output array, for writing the result to.
- Return type:
Array
- Returns:
ret – The lower incomplete gamma function of the array elements.
Examples
>>> a = ivy.array([2.5]) >>> x = ivy.array([1.7, 1.2]) >>> a.igamma(x) ivy.array([0.3614, 0.2085])
- Container.igamma(self, /, *, x, out=None)[source]#
ivy.Container instance method variant of ivy.igamma. This method simply wraps the function, and so the docstring for ivy.igamma also applies to this method with minimal changes.
- Parameters:
self (
Container
) – Input array.x (
Union
[Container
,Array
,NativeArray
]) – An additional input array. x has the same type as a.out (
Optional
[Container
], default:None
) – optional output array, for writing the result to.
- Return type:
Container
- Returns:
ret – The lower incomplete gamma function of the array elements.
Examples
>>> a = ivy.array([2.5]) >>> x = ivy.array([1.7, 1.2]) >>> a.igamma(x) ivy.array([0.3614, 0.2085])