Chapter 3 Analysis Library
© National Instruments Corporation 3-7 LabWindows/CVI Standard Libraries
Return Value
status integer Refer to error codes in
Table 3-2.
Copy1D
int status = Copy1D (double inputArray[], int numberofElements,
double outputArray[]);
Purpose
Copies the elements of the inputArray. This function is useful to duplicate arrays for in-place
operations.
Parameters
Input inputArray double-precision
array Input array.
numberofElements integer Number of elements in
inputArray.
Output outputArray double-precision
array Duplicated array.
Return Value
status integer Refer to error codes in Table 3-2.
CxAdd
int status = CxAdd (double xReal, double xImaginary, double yReal,
double yImaginary, double *outputReal
double*outputImaginary);
Purpose
Adds two complex numbers. The function obtains the resulting complex number by using the
formulas.
zr = xr + yr
zi = xi + yi