package logtk

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

linear expressions

type num
type t = num linexp
val zero : t
val is_zero : t -> bool
val is_const : t -> bool
val (+) : t -> t -> t
val (-) : t -> t -> t
val (*) : num -> t -> t
val add : num -> term -> t -> t
val const : num -> t
val monomial : num -> term -> t
val monomial1 : term -> t
val equal : t -> t -> bool
val map : (term -> term) -> t -> t
val subterms : t -> term Iter.t
OCaml

Innovation. Community. Security.