Function rc_poly_add_inplace#
Defined in File polynomial.h
Function Documentation#
-
int rc_poly_add_inplace(rc_vector_t *a, rc_vector_t b)#
Adds polynomials a&b with right justification.
The result is placed in vector a and a’s original contents are lost. More memory is allocated for a if necessary.
- Parameters:
a – First input and where output is written
b – [in] second input
- Returns:
Returns 0 on success and -1 on failure.