Function rc_matrix_transpose#
- Defined in File matrix.h 
Function Documentation#
- 
int rc_matrix_transpose(rc_matrix_t A, rc_matrix_t *T)#
- Transposes the contents of A and places the result in T. - Resizes matrix T to hold the transposed contents of A and leaves A untouched. Original contents of T are safely freed and lost. If the original contents of A are not needed after transposing then use rc_matrix_transpose_inplace instead. - Parameters:
- A – [in] input matrix struct 
- T – [out] resulting transpose 
 
- Returns:
- Returns 0 on success or -1 on failure.