module Linexpr1:sig..end
type t = {
|
mutable linexpr0 : |
|
mutable env : |
val make : ?sparse:bool -> Apron.Environment.t -> tval minimize : t -> unitval copy : t -> tval print : Format.formatter -> t -> unitval set_list : t ->
(Apron.Coeff.t * Apron.Var.t) list -> Apron.Coeff.t option -> unit
set_list expr [(c1,"x"); (c2,"y")] (Some cst) assigns coefficients c1
to variable "x", coefficient c2 to variable "y", and coefficient cst
to the constant. If (Some cst) is replaced by None,
the constant coefficient is not assigned.
val set_array : t ->
(Apron.Coeff.t * Apron.Var.t) array -> Apron.Coeff.t option -> unitset_list.val iter : (Apron.Coeff.t -> Apron.Var.t -> unit) -> t -> unitval get_cst : t -> Apron.Coeff.tval set_cst : t -> Apron.Coeff.t -> unitval get_coeff : t -> Apron.Var.t -> Apron.Coeff.tval set_coeff : t -> Apron.Var.t -> Apron.Coeff.t -> unitval extend_environment : t -> Apron.Environment.t -> tFailure if it is not the caseval extend_environment_with : t -> Apron.Environment.t -> unitval is_integer : t -> boolval is_real : t -> boolval get_linexpr0 : t -> Apron.Linexpr0.tval get_env : t -> Apron.Environment.t