Module Make.Ints

Helper functions for manipulating polynomials of type Tint.

val of_bigint : Z.t -> t

Conversion from Z.t.

val zero : t

The constant 0.

Prefix and infix operators

val (~-) : t -> t

Negation.

val (+) : t -> t -> t

Addition add.

val (-) : t -> t -> t

Subtraction sub.

val (~$$) : Z.t -> t

Conversion from Z.t.

val (+$$) : t -> Z.t -> t

Addition with a constant.

Note: p +$$ n is equivalent to p + ~$$n, but might be more efficient.

val (*$$) : t -> Z.t -> t

Multiplication with a constant.