Function rc_poly_subtract¶
Defined in File polynomial.h
Function Documentation¶
-
int rc_poly_subtract(rc_vector_t a, rc_vector_t b, rc_vector_t *c)¶
Subtracts two polynomials a-b with right justification and places the result in c.
Any existing memory allocated for c is freed and its contents are lost. Returns 0 on success and -1 on failure.
- Parameters
a – [in] First input
b – [in] second input
c – [out] output
- Returns
Returns 0 on success and -1 on failure.