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

gammaln (MathScript Function) (Windows, Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the advanced class.

Syntax

c = gammaln(a)

Description

Computes the natural logarithm of the gamma function of the input elements. gammaln(a) is equivalent to log(gamma(x)).

Examples

Inputs

Name Description
a Specifies a matrix. All elements of a must be real and positive.

Outputs

Name Description
c Returns the natural logarithm of the gamma function of the elements in a. c is a matrix of the same size as a.

Examples

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

Related Topics

gamma
gammainc
log
psi


Resources


 

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