Welcome to the Exelis VIS product documentation center! Here you will find reference guides, help documents, and product libraries. Discover the products including ENVI, IDL, and ENVI LiDAR, and solutions developed by Exelis VIS at www.exelisvis.com.


EXP

EXP

The EXP function returns the natural exponential function of Expression.

Examples


Plot a Gaussian with a 1/e width of 10 and a center of 50 by entering:

PLOT, EXP(-(FINDGEN(100)/10. - 5.0)^2)

Syntax


Result = EXP(Expression)

Return Value


Returns the natural exponential function of the given Expression.

Arguments


Expression

The expression to be evaluated. If Expression is double-precision floating or complex, the result is of the same type. All other types are converted to single-precision floating-point and yield floating-point results. The definition of the exponential function for complex arguments is:

EXP(x) = COMPLEX(eRcos I, eRsin I)

where:

R = real part of x, and I = imaginary part of x. If Expression is an array, the result has the same structure, with each element containing the result for the corresponding element of Expression.

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


ALOG



Comments


This page has no comments yet. Be the first one!

© 2013 Exelis Visual Information Solutions