Analysis Library Chapter 3
LabWindows/CVI Standard Libraries 3-28 © National Instruments Corporation
Neg1D
int status = Neg1D (double inputArray[], int numberofElements,
double outputArray[]);
Purpose
Negates the elements of the input array. The function performs the operation 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.
Output outputArray double-precision
array Negated values of the inputArray.
Return Value
status integer Refer to error codes in Table 3-2.
Set1D
int status = Set1D (double array[], int numberofElements, double setValue);
Purpose
Sets the elements of the input array to a constant value.
Parameters
Input numberofElements integer Number of elements in array.
setValue double-precision Constant value.
Output array double-precision
array Result array (set to the value
of setValue).
Return Value
status integer Refer to error codes in Table 3-2.