package lp

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t =
  1. | Const of float
  2. | Linear of float * Var.t
  3. | Quad of float * Var.t * Var.t
val c : float -> t
val var : ?integer:bool -> ?lb:float -> ?ub:float -> string -> t
val binary : string -> t
val range : ?integer:bool -> ?lb:float -> ?ub:float -> string -> int -> t array
val format_float : float -> string
val format_float_short : float -> string
val to_string : ?short:bool -> t -> string
val (*) : t -> t -> t
val (/) : t -> t -> t
val zero : t
val neg : t -> t
val (~-) : t -> t
val sort : t -> t
val degree : t -> int
val near_zero : ?epsilon:float -> t -> bool
val common_var : t -> t -> bool
val collision : t -> t -> bool
val compare : t -> t -> int
val trans_bound : string -> float -> float -> t -> t
val to_binary : string -> t -> t
val to_integer : string -> t -> t
OCaml

Innovation. Community. Security.