module Linexpr1:sig
..end
type
t = {
|
mutable linexpr0 : |
|
mutable env : |
val make : ?sparse:bool -> Apron.Environment.t -> t
val minimize : t -> unit
val copy : t -> t
val print : Format.formatter -> t -> unit
val 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 -> unit
set_list
.val iter : (Apron.Coeff.t -> Apron.Var.t -> unit) -> t -> unit
val get_cst : t -> Apron.Coeff.t
val set_cst : t -> Apron.Coeff.t -> unit
val get_coeff : t -> Apron.Var.t -> Apron.Coeff.t
val set_coeff : t -> Apron.Var.t -> Apron.Coeff.t -> unit
val extend_environment : t -> Apron.Environment.t -> t
Failure
if it is not the caseval extend_environment_with : t -> Apron.Environment.t -> unit
val is_integer : t -> bool
val is_real : t -> bool
val get_linexpr0 : t -> Apron.Linexpr0.t
val get_env : t -> Apron.Environment.t