This is the latest (main) BeagleBoard documentation. If you are looking for stable releases, use the drop-down menu on the bottom-left and select the desired version.

Function rc_matrix_transpose

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.