Chapter 3 Analysis Library
© National Instruments Corporation 3-13 LabWindows/CVI Standard Libraries
The function performs the operations in place; that is, the input and output complex arrays can be
the same.
Parameters
Input arrayXReal double-precision
array Real part of x.
arrayXImaginary double-precision
array Imaginary part of x.
arrayYReal double-precision
array Real part of y.
arrayYImaginary double-precision
array Imaginary part of y.
numberofElements integer Number of elements.
Output outputArrayReal double-precision
array Real part of z.
outputArrayImaginary double-precision
array Imaginary part of z.
Return Value
status integer Refer to error codes in
Table 3-2.
CxRecip
int status = CxRecip (double xReal, double xImaginary, double *outputReal,
double *outputImaginary);
Purpose
Finds the reciprocal of a complex number. The function obtains the resulting complex number
by using the following formulas.
yr = xr / (xr2 + xi2)
yi = -xi / (xr2 + xi2)