IDL

GAUSSINT

GAUSSINT

The GAUSSINT function evaluates the integral of the Gaussian probability function.

The Gaussian integral is defined as:

Examples


Plot the Gaussian probability function for a range of numbers raised to one of several exponents:

; Generate our base values.
X = FINDGEN(50)/100.
 
; Plot the base values against their Gaussian probability integrals.
; Then plot the base values raised to an exponent against their 
; Gaussian probability integrals.
p1 = PLOT(X, GAUSSINT(X), XTITLE='Numbers', $
   YTITLE='Gaussian Integral', $
   TITLE="Gaussian Integrals for Numbers", $
   COLOR='red', NAME='Number to the Power of 1')
p1 = PLOT((X^2), GAUSSINT(X), COLOR='blue', $
   NAME='Number to the Power of 2', /OVERPLOT)
p1 = PLOT((X^3), GAUSSINT(X), COLOR='purple', $
   NAME='Number to the Power of 3', /OVERPLOT)
p1 = PLOT((X^4), GAUSSINT(X), COLOR='green', $
   NAME='Number to the Power of 4', /OVERPLOT)
p1 = PLOT((X^5), GAUSSINT(X), COLOR='chocolate', $
   NAME='Number to the Power of 5', /OVERPLOT)
L = LEGEND(POSITION=[0.4,90], /DATA)

Syntax


Result = GAUSSINT(X)

Return Value


Returns the result of the Gaussian probability function integral evaluation. If X is double-precision, the result is double-precision, otherwise the argument is converted to floating-point and the result is floating-point. The result has the same structure as the input argument, X.

Arguments


X

The expression for which the Gaussian integral is to be evaluated.

Keywords


Thread Pool Keywords

This routine is written to make use of IDL’s thread pool, which can increase execution speed on systems with multiple CPUs. The values stored in the !CPU system variable control whether IDL uses the thread pool for a given computation. In addition, you can use the thread pool keywords TPOOL_MAX_ELTS, TPOOL_MIN_ELTS, and TPOOL_NOTHREAD to override the defaults established by !CPU for a single invocation of this routine. See Thread Pool Keywords for details.

Version History


Original

Introduced

See Also


GAUSS_CVF, GAUSS_PDF



Notes


This page has no user notes yet. Be the first one!


This information is not subject to the controls of the International Traffic in Arms Regulations (ITAR) or the Export Administration Regulations (EAR). However, it may be restricted from transfer to various embargoed countries under U.S. laws and regulations.
© 2014 Exelis Visual Information Solutions