National Instruments 320682C Musical Toy Instrument User Manual


 
Chapter 3 Analysis Library
© National Instruments Corporation 3-31 LabWindows/CVI Standard Libraries
Return Value
status
integer Refer to error codes in
Table 3-2.
Sub2D
int status = Sub2D (void *arrayX, void *arrayY, int numberofRows,
int numberofColumns, void *outputArray);
Purpose
Subtracts two 2D arrays. The function obtains the (ith, jth) element of the output array by using
the formula:
zxy
ij ij ij
,,,
=−
The function performs the operation in place; that is, outputArray can be in place of 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.