tf.math.igamma
Stay organized with collections
Save and categorize content based on your preferences.
Compute the lower regularized incomplete Gamma function P(a, x)
.
tf.math.igamma(
a, x, name=None
)
The lower regularized incomplete Gamma function is defined as:
\(P(a, x) = gamma(a, x) / Gamma(a) = 1 - Q(a, x)\)
where
\(gamma(a, x) = \\int_{0}^{x} t^{a-1} exp(-t) dt\)
is the lower incomplete Gamma function.
Note, above Q(a, x)
(Igammac
) is the upper regularized complete
Gamma function.
Args |
a
|
A Tensor . Must be one of the following types: bfloat16 , half , float32 , float64 .
|
x
|
A Tensor . Must have the same type as a .
|
name
|
A name for the operation (optional).
|
Returns |
A Tensor . Has the same type as a .
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[],[],null,["# tf.math.igamma\n\nCompute the lower regularized incomplete Gamma function `P(a, x)`.\n\n#### View aliases\n\n\n**Compat aliases for migration**\n\nSee\n[Migration guide](https://www.tensorflow.org/guide/migrate) for\nmore details.\n\n[`tf.compat.v1.igamma`](https://www.tensorflow.org/api_docs/python/tf/math/igamma), [`tf.compat.v1.math.igamma`](https://www.tensorflow.org/api_docs/python/tf/math/igamma)\n\n\u003cbr /\u003e\n\n tf.math.igamma(\n a, x, name=None\n )\n\nThe lower regularized incomplete Gamma function is defined as:\n\n\\\\(P(a, x) = gamma(a, x) / Gamma(a) = 1 - Q(a, x)\\\\)\n\nwhere\n\n\\\\(gamma(a, x) = \\\\\\\\int_{0}\\^{x} t\\^{a-1} exp(-t) dt\\\\)\n\nis the lower incomplete Gamma function.\n\nNote, above `Q(a, x)` (`Igammac`) is the upper regularized complete\nGamma function.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|--------|-------------------------------------------------------------------------------------------|\n| `a` | A `Tensor`. Must be one of the following types: `bfloat16`, `half`, `float32`, `float64`. |\n| `x` | A `Tensor`. Must have the same type as `a`. |\n| `name` | A name for the operation (optional). |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ------- ||\n|---|---|\n| A `Tensor`. Has the same type as `a`. ||\n\n\u003cbr /\u003e"]]