P.Ints
Helper functions for manipulating polynomials of type Tint.
Tint
val of_bigint : Z.t -> t
Conversion from Z.t.
Z.t
val zero : t
The constant 0.
0
val (~-) : t -> t
Negation.
val (+) : t -> t -> t
Addition add.
add
val (-) : t -> t -> t
Subtraction sub.
sub
val (~$$) : Z.t -> t
val (+$$) : t -> Z.t -> t
Addition with a constant.
Note: p +$$ n is equivalent to p + ~$$n, but might be more efficient.
p +$$ n
p + ~$$n
val (*$$) : t -> Z.t -> t
Multiplication with a constant.