Function rc_matrix_transpose_inplace#

Function Documentation#

int rc_matrix_transpose_inplace(rc_matrix_t *A)#

Transposes matrix A in place.

Use as an alternative to rc_matrix_transpose if you no longer have need for the original contents of matrix A.

Parameters:

A – Pointer to matrix to be transposed

Returns:

Returns 0 on success or -1 on failure.