gamma_incomplete (MathScript RT Module Function)

LabVIEW 2012 MathScript RT模块帮助

版本日期:June 2012

产品编号:373123C-0118

»查看产品信息
下载帮助
(仅限Windows)

Owning Class: advanced

Requires: MathScript RT Module

Syntax

c = gamma_incomplete(a, b)

Legacy Name: gammainc

Description

Computes the incomplete gamma function of corresponding elements of two matrices. gamma_incomplete generalizes the gamma function.

Details

Examples

Inputs

Name Description
a Specifies a real matrix.
b Specifies a real matrix. b is the same size as a unless a or b is a scalar.

Outputs

Name Description
c Returns the incomplete gamma function of corresponding elements in a and b. c is a matrix of the same size as a or b.

Details

When a and b are scalar, LabVIEW computes gamma_incomplete(a, b) using the following equation: c = 1/gamma(b)*integral(t^(b-1)*exp(-t), t, 0, a).

The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine Yes
Supported on RT targets Yes
Suitable for bounded execution times on RT Not characterized

Examples

A = [0.4, 1.3, 2.5, 3.7]
B = [0.4, 1.3, 2.5, 3.7]
C = gamma_incomplete(A, B)

Related Topics

gamma
gamma_ln
psi

文章是否对您有帮助?

没有帮助