AnalysisLibErrType Transpose (void *inputMatrix, int numberOfRows, int numberOfColumns, void *outputMatrix);
Finds the transpose of a 2D input matrix. Transpose obtains the (i, j)th element of the resulting matrix using the following formula:
yi, j = xj, i
| Input | ||
| Name | Type | Description |
| inputMatrix | numeric array | Input matrix to transpose. This matrix must be an array of doubles. |
| numberOfRows | integer | Number of rows in the input matrix to transpose and the number of columns in the output matrix. |
| numberOfColumns | integer | Number of columns in the input matrix to transpose and the number of rows in the output matrix. |
| Output | ||
| Name | Type | Description |
| outputMatrix | numeric array | Transpose matrix, as an array of doubles. |
| Name | Type | Description |
| status | AnalysisLibErrType | A value that specifies the type of error that occurred. Refer to analysis.h for definitions of these constants. |