Defined in File vector.h
int rc_vector_sum_inplace(rc_vector_t *v1, rc_vector_t v2)¶
Adds vector v2 to v1 and leaves the result in v1.
The original contents of v1 are lost and v2 is left untouched. v1 and v2 must be of the same length.
v1 – User’s vector struct, holds the result
v2 – [in] User’s vector struct
Returns 0 on success, otherwise -1.