Open wbhart opened 3 years ago
It looks like we need to implement:
I think all the dependencies like mullow are there.
Note that I also added some tickets for divrem_newton
and for making use of div_newton
in div
. As the crossovers are likely to be huge and should not be profiled until other issues like #1115 are sorted, I will not cover that in this release.
The only thing that remains now is:
For a first step, this could just use the same approach as fmpz_mod_poly_divrem_f
which just checks invertibility of the leading coeff of B
before calling the usual function.
We have a proper div function in nmod_poly, which depends only on the size of the quotient. We need a similar function for fmpz_mod_poly (which currently depends on the length of the quotient and remainder, as it just calls fmpz_mod_poly_divrem).