National Instruments 320682C Musical Toy Instrument User Manual


 
Chapter 3 Analysis Library
© National Instruments Corporation 3-27 LabWindows/CVI Standard Libraries
Return Value
status
integer Refer to error codes in
Table 3-2.
Mul2D
int status = Mul2D (void *arrayX, void *arrayY, int numberofRows,
int numberofColumns, void *outputArray);
Purpose
Multiplies 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.
Return Value
status
integer Refer to error codes in
Table 3-2.