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_poly_subtract_inplace

Function Documentation

int rc_poly_subtract_inplace(rc_vector_t *a, rc_vector_t b)

Subtracts b from a with right justification.

a stays in place and new memory is allocated only if b is longer than a.

Parameters
  • a – First input and where output is written

  • b[in] second input

Returns

Returns 0 on success and -1 on failure.