Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

gamma_incomplete (MathScript RT Module Function)

LabVIEW 2010 Help

Edition Date: June 2010

Part Number: 371361G-01

»View Product Info

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).

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