Chapter 3 Analysis Library
© National Instruments Corporation 3-21 LabWindows/CVI Standard Libraries
Return Value
status integer Refer to error codes in n
Table 3-2.
LinEv1D
int status = LinEv1D (double inputArray[], int numberofElements,
double multiplier, double additiveConstant,
double outputArray[]);
Purpose
Performs a linear evaluation of a 1D array. The function obtains the ith element of the output
array by using the following formula.
yaxb
ii
=∗ +
The operation can be performed in place; that is, inputArray and outputArray can be the same
array.
Parameters
Input inputArray double-precision
array Input array.
numberofElements integer Number of elements.
multiplier double-precision Multiplicative constant.
additiveConstant double-precision Additive constant.
Output outputArray double-precision
array Linearly evaluated array.
Return Value
status integer Refer to error codes in
Table 3-2.