Analysis Library Chapter 3
LabWindows/CVI Standard Libraries 3-30 © National Instruments Corporation
Parameters
Input inputArray double-precision
array Input array.
numberofElements integer Number of elements in
inputArray.
Output mean double-precision Mean value.
standardDeviation double-precision Standard deviation.
Return Value
status integer Refer to error codes in
Table 3-2.
Sub1D
int status = Sub1D (double arrayX[], double arrayY[], int numberofElements,
double outputArray[]);
Purpose
Subtracts two 1D arrays. The function obtains the ith element of the output array by using the
following formula:
zxy
iii
=−
The operation can be performed in place; that is, outputArray can be in place of either arrayX
or arrayY.
Parameters
Input arrayX double-precision
array Input array.
arrayY double-precision
array Input array.
numberofElements integer Number of elements to be
subtracted.
Output outputArray double-precision
array Result array.