Documentation

Complexitylib.Encoding.BitPolynomial.Remainder.Internal

Correctness and bounds for binary-polynomial remainder #

The scan maintains the monic remainder of the coefficients already read. Its fixed width gives a state bound independent of the dividend length, and the outer zero-modulus branch agrees with Polynomial.modByMonic_zero.