igammac: Complementary Incomplete Gamma Function

View source: R/auxiliaries.r

igammacR Documentation

Complementary Incomplete Gamma Function

Description

Evaluate an complementary incomplete gamma function:

γ^{*}(a, x) = \int_{x}^{∞} t^{a-1} e^{-t}dt,

using SLATEC dgamic in https://netlib.org/slatec/. When (x > 0 and a ≥ 0) or (x ≥ 0 and a > 0), compute the result, otherwise the value is NaN.

Usage

igammac(a, x)

Arguments

a

A numeric vector.

x

A nonnegative numeric vector with same length as a.

Value

A vector of values of a complementary incomplete gamma function.

See Also

igamma()

Examples

igammac(1, 1)

dsdp documentation built on Feb. 16, 2023, 8:36 p.m.