Analysis Library Chapter 3
LabWindows/CVI Standard Libraries 3-6 © National Instruments Corporation
Purpose
Adds two (2D) arrays. The function obtains the (ith, jth) element of the output array by using the
following formula.
zxy
ij ij ij
,,,
=+
The function performs the operation in place; outputArray can be the same array as either
arrayX or arrayY.
Parameters
Input arrayX double-precision 2D
array Input array.
arrayY double-precision 2D
array Input array.
numberofRows integer Number of elements in first
dimension.
numberofColumns integer Number of elements in second
dimension.
Output outputArray double-precision 2D
array Result array.
Return Value
status integer Refer to error codes in
Table 3-2.
Clear1Dint status = Clear1D (double array[], int numberofElements);
Purpose
Sets the elements of the array to zero.
Parameters
Input numberofElements integer Number of elements in array.
Output array double-precision
array Cleared array.