Analysis Library Chapter 3
LabWindows/CVI Standard Libraries 3-14 © National Instruments Corporation
Parameters
Input xReal double-precision Real part of x.
xImaginary double-precision Imaginary part of x.
Output outputReal double-precision Real part of y.
outputImaginary double-precision Imaginary part of y.
Return Value
status integer Refer to error codes in Table 3-2.
CxSub
int status = CxSub (double xReal, double xImaginary, double yReal,
double yImaginary, double *outputReal,
double *outputImaginary);
Purpose
Subtracts two complex numbers. The function obtains the resulting complex number by using
the following formulas.
zr = xr - yr
zi = xi - yi
Parameters
Input xReal double-precision Real part of x.
xImaginary double-precision Imaginary part of x.
yReal double-precision Real part of y.
yImaginary double-precision Imaginary part of y.
Output outputReal double-precision Real part of z.
outputImaginary double-precision Imaginary part of z.
Return Value
status integer Refer to error codes in
Table 3-2.