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_left_multiply_inplace

Function Documentation

int rc_matrix_left_multiply_inplace(rc_matrix_t A, rc_matrix_t *B)

Multiplies A*B and puts the result back in the place of B.

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

Parameters
  • A[in] left matrix in the multiplication

  • B – right matrix in the multiplication and holder of the result.

Returns

Returns 0 on success or -1 on failure.