CxDiv1D
AnalysisLibErrType CxDiv1D (double arrayXReal[], double arrayXImaginary[], double arrayYReal[], double arrayYImaginary[], ssize_t numberOfElements, double outputArrayReal[], double outputArrayImag[]);
Purpose
Divides two complex 1D arrays. CxDiv1D obtains the ith element of the resulting complex array using the following formulas:

CxDiv1D can perform this operation in place; that is, the input and output arrays can be the same.
Parameters
Input | ||
Name | Type | Description |
arrayX_Real | double [] | Real part of the dividend array. |
arrayX_Imaginary | double [] | Imaginary part of the dividend array. |
arrayY_Real | double [] | Real part of the divisor array. |
arrayY_Imaginary | double [] | Imaginary part of the divisor array. |
numberOfElements | ssize_t | Number of elements to divide. |
Output | ||
Name | Type | Description |
outputArray_Real | double [] | Real part of the result of the complex array division. |
outputArray_Imag | double [] | Imaginary part of the result of the complex array division. |
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: Analysis Library
Include file: analysis.h
LabWindows/CVI compatibility: LabWindows/CVI 3.0 and later