Frama-C API - Make
This module provides a representation of closed boxes in a classical vector space over a field 𝕂.
Parameters
Signature
Boxes are represented as a center and a radius. The radius components are always all positives.
val make : 'n Nat.succ Linear.Space(K).vector -> 'n Nat.succ Linear.Space(K).vector -> 'n Nat.succ tThe call make center radius returns a box of center center and of radius abs radius, with abs the componentwise absolute value on vectors as defined in Linear.
val point : 'n Nat.succ Linear.Space(K).vector -> 'n Nat.succ tThe call point center returns a box of radius zero and of center center, i.e a point in the vector space.
The call zero n returns the point zero in a n dimensionnal vector space.
val pretty : 'n Nat.succ t Pretty_utils.formatterPretty printer.
val bounds : 'n t -> 'n Linear.Space(K).vector * 'n Linear.Space(K).vectorBoxes can also be seen as a collection of intervals. The call bounds b returns thus the bounds in each dimension of the closed space defined by b. The lower b (resp. upper b) function returns only the lower bounds (resp. upper bounds).
val lower : 'n t -> 'n Linear.Space(K).vectorval upper : 'n t -> 'n Linear.Space(K).vectorThe call is_included l r returns true if and only if all points in the box l are also in the box r.
