Admin Production ni-theme
Current Publication

CxLn

LabWindows/CVI

CxLn

Advanced Analysis Library Only

AnalysisLibErrType CxLn (double xReal, double xImaginary, double *outputReal, double *outputImaginary);

Purpose

Calculates the natural logarithm of a complex number. CxLn obtains the resulting complex number using the following formula:

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

where e = 2.178 . . .

Parameters

Input
Name Type Description
x_Real double Real part of the complex number whose natural logarithm is computed.

Default Value: 1.0.
x_Imaginary double Imaginary part of the complex number whose natural logarithm is computed.

Default Value: 0.0.
Output
Name Type Description
output_Real double Real part of the resulting natural logarithm.
output_Imaginary double Imaginary part of the resulting natural logarithm.

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.

Additional Information

Library: Advanced Analysis Library

Include file: analysis.h

LabWindows/CVI compatibility: LabWindows/CVI 3.1 and later