Analysis Library Chapter 3
LabWindows/CVI Standard Libraries 3-36 © National Instruments Corporation
Transpose
int
status =
Transpose
(void
*
inputMatrix
,
int
numberofRows
,
int
numberofColumns
,
void
*
outputMatrix
);
Purpose
Finds the transpose of a 2D input matrix. The (ith, jth) element of the resulting matrix uses the
formula:
y
i,j
= x
i,j
Parameters
Input
inputMatrix
double-precision 2D
array
Input matrix.
numberofRows
integer Size of first dimension.
numberofColumns
integer Size of second dimension.
Output
outputMatrix
double-precision 2D
array
Transpose matrix.
Note:
If the input matrix is dimensioned (
numberofRows
by
numberofColumns
), then the
output matrix must be dimensioned (
numberofColumns
by
numberofRows
).
Return Value
status
integer Refer to error codes in
Table 3-2.