module Numerors_arithmetics:sig..end
module I: Numerors_interval
type t = {
|
exact : |
|
approx : |
|
abs_err : |
|
rel_err : |
}
Type manipulated by the arithmetics
val pretty : Stdlib.Format.formatter -> t -> unitPretty printer
val zero : t -> tReturn a value with all fields to zero. The <approx> field will use the precision of the approx field of the parameter
val prec : t -> Numerors_utils.Precisions.tReturn the precision of the <approx> field
val create : I.t -> I.t -> I.t -> I.t -> tCreate a record from intervals
val apply : (I.t -> I.t -> I.t) ->
t -> t -> tApply an operation on each fields of the operands
val change_prec : Numerors_utils.Precisions.t ->
t -> tReturn a new value with the same fields as the input but with an <approx> field with the given precision
val forward_interaction : t -> tHandling of forward interactions
val join : t -> t -> tLattice methods
val narrow : t ->
t -> t Eval.or_bottom
val compare : t -> t -> int
val is_included : t -> t -> bool
module type Arithmetic =sig..end
Signature of an arithmetic
module Exact:Arithmeticwith type forward = I.t
Modules which implement the previous signature for each field of <t>
module Approx:Arithmeticwith type forward = I.t
module Abs_Err:Arithmeticwith type forward = exact:I.t -> approx:I.t -> I.t
module Rel_Err:Arithmeticwith type forward = exact:I.t -> abs_err:I.t -> I.t
module Backward_Comparisons:sig..end
Backward comparisons