AnalysisLibErrType CxDiv1D (double arrayXReal[], double arrayXImg[], double arrayYReal[], double arrayYImg[], int numberOfElements, double outputReal[], double outputImg[]);
Divides two complex 1D arrays. CxDiv1D obtains the
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.
| Input | ||
| Name | Type | Description |
| arrayXReal | double-precision array | Real part of the dividend array. |
| arrayXImg | double-precision array | Imaginary part of the dividend array. |
| arrayYReal | double-precision array | Real part of the divisor array. |
| arrayYImg | double-precision array | Imaginary part of the divisor array. |
| numberOfElements | integer | Number of elements to divide. |
| Output | ||
| Name | Type | Description |
| outputReal | double-precision array | Real part of the result of the complex array division. |
| outputImg | double-precision array | Imaginary part of the result of the complex array division. |
| Name | Type | Description |
| status | AnalysisLibErrType | A value that specifies the type of error that occurred. Refer to analysis.h for definitions of these constants. |