Function rc_poly_divide#
Defined in File polynomial.h
Function Documentation#
-
int rc_poly_divide(rc_vector_t n, rc_vector_t d, rc_vector_t *div, rc_vector_t *rem)#
Divides denominator d into numerator n. The remainder is placed into vector rem and the divisor is placed into vector div.
- Parameters:
n – [in] numerator
d – [in] denominator
div – The resulting divisor
rem – The resulting remainder
- Returns:
Returns 0 on success and -1 on failure.