Function rc_matrix_multiply#
Defined in File matrix.h
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.