Function rc_matrix_right_multiply_inplace#

Function Documentation#

int rc_matrix_right_multiply_inplace(rc_matrix_t *A, rc_matrix_t B)#

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

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

Parameters:
  • A – left matrix in the multiplication and holder of result

  • B[in] right matrix in the multiplication

Returns:

Returns 0 on success or -1 on failure.