The GAUSSINT function evaluates the integral of the Gaussian probability function.
The Gaussian integral is defined as:
Examples
Plot the Gaussian probability function over the range -5 to 5 with a step size of 0.1by entering:
X = FINDGEN(101)/10. - 5.
PLOT, X, GAUSSINT(X)
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
Comments
This page has no comments yet. Be the first one!
