Chapter 3 Analysis Library
© National Instruments Corporation 3-11 LabWindows/CVI Standard Libraries
CxLinEv1Dint status = CxLinEv1D (double arrayXReal[], double arrayXImaginary[],
int numberofElements, double aReal, double aImaginary,
double bReal, double bImaginary,
double outputArrayReal[],
double outputArrayImaginary[]);
Purpose
Performs a complex linear evaluation of a 1D complex array. The function obtains the ith
element of the resulting complex array by using the following formulas.
yr ar xr ai xi br
iii
=∗−∗+()
yi ar xi ai xr bi
iii
=∗+∗+()
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.
numberofElements integer Number of elements.
aReal double-precision Real part of a.
aImaginary double-precision Imaginary part of a.
bReal double-precision Real part of b.
bImaginary double-precision Imaginary part of b.
Output outputArrayReal double-precision
array Real part of y.
outputArrayImaginary double-precision
array Imaginary part of y.
Return Value
status integer Refer to error codes in
Table 3-2.