Function rc_matrix_outer_product#

Function Documentation#

int rc_matrix_outer_product(rc_vector_t v1, rc_vector_t v2, rc_matrix_t *A)#

Computes v1 times v2 where v1 is a column vector and v2 is a row vector.

Parameters:
  • v1[in] Column vector v1

  • v2[in] Row vector v2

  • A – Output matrix

Returns:

Returns 0 on success or -1 on failure.