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_multiply

Function Documentation

int rc_matrix_multiply(rc_matrix_t A, rc_matrix_t B, rc_matrix_t *C)

Multiplies A*B=C.

C is resized and its original contents are freed if necessary to avoid memory leaks.

Parameters
  • A[in] first input

  • B[in] second input

  • C[out] result

Returns

Returns 0 on success or -1 on failure.