Module Polynomial.Make
Parameters
Signature
val const : coeff -> tval indet : indet -> tval add : t -> t -> tval mult_const : int -> t -> tval mult_indet : indet -> t -> tval compare : t -> t -> intCompares two polynomials by comparing the coefficients for each monomial: If all coefficients of p1 >= the corresponding coefficient in p2, and one is even >, then return 1. If all coefficients of p1 <= the corresponding coefficient in p2, and one is even <, then return -1. If the polynomials are equal, return 0. If some coefficients are < and some are >, return 0.