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_subtract_inplace

Function Documentation

int rc_matrix_subtract_inplace(rc_matrix_t *A, rc_matrix_t B)

Subtracts matrix B from A and leaves the result in A.

The original contents of A are lost.

Parameters
  • A – First matrix for subtraction and holder of the result

  • B[in] Second matrix for subtraction

Returns

Returns 0 on success or -1 on failure.