CxExp

Advanced Analysis Library Only

AnalysisLibErrType CxExp (double xReal, double xImg, double *outputReal, double *outputImg);

Purpose

Calculates the exponential of a complex number. CxExp obtains the resulting complex number using the following formula:

(outputReal, outputImg) = e(xReal, xImg)

Parameters

Input
Name Type Description
xReal double-precision Real part of the complex number to which the exponential function is applied.

Default Value: 0.0.
xImg double-precision Imaginary part of the complex number to which the exponential function is applied.

Default Value: 0.0.
Output
Name Type Description
outputReal double-precision Real part of the resulting complex exponent.
outputImg double-precision Imaginary part of the resulting complex exponent.

Return Value

Name Type Description
status AnalysisLibErrType A value that specifies the type of error that occurred. Refer to analysis.h for definitions of these constants.