Next: Coefficients (ap_coeff.h), Previous: Scalars (ap_scalar.h), Up: Scalars & Intervals & coefficients
typedef struct ap_interval_t {
ap_scalar_t* inf;
ap_scalar_t* sup;
} ap_interval_t;
Intervals on scalars.
Next: Assigning intervals, Previous: Intervals (ap_interval.h), Up: Intervals (ap_interval.h)
Allocate an interval (with scalars of default type DOUBLE, the most economical).
Deallocate an interval.
Change the type of the bounds of the interval (mainly for internal use).
Next: Comparing intervals, Previous: Initializing intervals, Up: Intervals (ap_interval.h)
Set the value of rop from op.
Set the value of rop from the interval [inf,sup].
Set the value of rop from the interval [inf,sup] or [numinf/deninf,numsup/densup]. The scalars are of type MPQ.
Set the value of rop from the interval [inf,sup]. The scalars are of type DOUBLE.
Set the value of rop resp. to the top interval [-oo,+oo] or to the empty interval [+1,-1].
Combined allocation and assignement.
Next: Other operations on intervals, Previous: Assigning intervals, Up: Intervals (ap_interval.h)
Return true if the interval is resp. the universe interval
([-oo,+oo]) or an empty interval.
Inclusion test.
Return true if the interval op1 is included in op2.
Equality test.
Return true if the interval op1 is included in op2.
Non-total comparison.
0 equality-1 op1 included in op2+1 op2 included in op1-2 op1.inf less than op2.inf+2 op1.inf greater than op2.infNext: Array of intervals, Previous: Comparing intervals, Up: Intervals (ap_interval.h)
Negation.
Exchange the values of op1 and op2.
Return an hash code (for instance for OCaml interface).
Print op on the stream stream.
Previous: Other operations on intervals, Up: Intervals (ap_interval.h)
Allocate an array of intervals, initialized with [0,0] values.
Clearing and deallocating an array of intervals.
Next: Coefficients (ap_coeff.h), Previous: Scalars (ap_scalar.h), Up: Scalars & Intervals & coefficients