package orgeat

  1. Overview
  2. Docs
include sig ... end
type t = P_z.t s
val zero : t
val is_zero : t -> bool
val one : t
val equal : t -> t -> bool
val map : ('a -> P_z.t) -> 'a s -> t
val add : t -> t -> t

Operations *

val neg : t -> t
val sub : t -> t -> t
val mul : t -> t -> t
val mul_scalar : P_z.t -> t -> t
val seq : t -> t
val set : t -> t
val cycle : t -> t
val seq_at_least_n : int -> t -> t
val seq_at_most_n : int -> t -> t
val tuple_n : int -> t -> t
val seq_bounded : min:int -> max:int -> t -> t
val of_scalar : P_z.t -> t
val of_class : Literal.Class.t -> t
val deriv_class : Literal.Class.t -> t -> t
val substitution : t Map.Make(Literal.Class).t -> t -> t
val deg_class : Literal.Class.t -> t -> int option
val is_polynomial_wrt_class : Literal.Class.t -> t -> bool
val to_string : t -> string
val eval_z_partial : K.t -> t -> t
val eval_z : K.t -> t -> S_applied.t
val deriv_z : t -> t
val deg_z : t -> int option
val is_polynomial_wrt_z : t -> bool
OCaml

Innovation. Community. Security.