Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

gamma_incomplete (MathScript RT Module Function)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info
Download Help (Windows Only)

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


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit