1 #ifndef GINAC_CHINREM_GCD_DIVIDE_IN_Z_P_H
2 #define GINAC_CHINREM_GCD_DIVIDE_IN_Z_P_H
9 * Exact polynomial division of a, b \in Z_p[x_0, \ldots, x_n]
10 * It doesn't check whether the inputs are proper polynomials, so be careful
11 * of what you pass in.
13 * @param a first multivariate polynomial (dividend)
14 * @param b second multivariate polynomial (divisor)
15 * @param q quotient (returned)
16 * @param var variables X iterator to first element of vector of symbols
18 * @return "true" when exact division succeeds (the quotient is returned in
19 * q), "false" otherwise.
22 divide_in_z_p(const ex &a, const ex &b, ex &q, const exvector& vars, const long p);
26 #endif /* GINAC_CHINREM_GCD_DIVIDE_IN_Z_P_H */