Chapter 3 Analysis Library
© National Instruments Corporation 3-17 LabWindows/CVI Standard Libraries
Parameters
Input arrayX double-precision
array Input array.
arrayY double-precision
array Input array.
numberofElements integer Number of elements to be divided.
Output outputArray double-precision
array Result array.
Return Value
status integer Refer to error codes in Table 3-2.
Div2Dint status = Div2D (void *arrayX, void *arrayY, int numberofRows,
int numberofColumns, void *outputArray);
Purpose
Divides 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; that is, 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.