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_times_col_vec

Function Documentation

int rc_matrix_times_col_vec(rc_matrix_t A, rc_vector_t v, rc_vector_t *c)

Multiplies matrix A times column vector v and places the result in column vector c.

Any existing data in c is freed if necessary and c is resized appropriately. Vectors v and c are interpreted as column vectors, but nowhere in their definitions are they actually specified as one or the other.

Parameters
  • A[in] input matrix

  • v[in] input vector

  • c[out] output vector

Returns

Returns 0 on success or -1 on failure.