tf.math.igammac
Stay organized with collections
Save and categorize content based on your preferences.
Compute the upper regularized incomplete Gamma function Q(a, x)
.
tf.math.igammac(
a: Annotated[Any, tf.raw_ops.Any
],
x: Annotated[Any, tf.raw_ops.Any
],
name=None
) -> Annotated[Any, tf.raw_ops.Any
]
Used in the notebooks
The upper regularized incomplete Gamma function is defined as:
\(Q(a, x) = Gamma(a, x) / Gamma(a) = 1 - P(a, x)\)
where
\(Gamma(a, x) = \int_{x}^{\infty} t^{a-1} exp(-t) dt\)
is the upper incomplete Gamma function.
Note, above P(a, x)
(Igamma
) is the lower 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 2024-04-26 UTC.
[null,null,["Last updated 2024-04-26 UTC."],[],[],null,["# tf.math.igammac\n\nCompute the upper regularized incomplete Gamma function `Q(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.igammac`](https://www.tensorflow.org/api_docs/python/tf/math/igammac), [`tf.compat.v1.math.igammac`](https://www.tensorflow.org/api_docs/python/tf/math/igammac)\n\n\u003cbr /\u003e\n\n tf.math.igammac(\n a: Annotated[Any, ../../tf/raw_ops/Any],\n x: Annotated[Any, ../../tf/raw_ops/Any],\n name=None\n ) -\u003e Annotated[Any, ../../tf/raw_ops/Any]\n\n### Used in the notebooks\n\n| Used in the tutorials |\n|----------------------------------------------------------------------------------------------------------------------|\n| - [TFP Release Notes notebook (0.13.0)](https://www.tensorflow.org/probability/examples/TFP_Release_Notebook_0_13_0) |\n\nThe upper regularized incomplete Gamma function is defined as:\n\n\\\\(Q(a, x) = Gamma(a, x) / Gamma(a) = 1 - P(a, x)\\\\)\n\nwhere\n\n\\\\(Gamma(a, x) = \\\\int_{x}\\^{\\\\infty} t\\^{a-1} exp(-t) dt\\\\)\n\nis the upper incomplete Gamma function.\n\nNote, above `P(a, x)` (`Igamma`) is the lower 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"]]