Complement


Function Complement within
Real Interval with keys Real Interval Complement keysreturns the complement of a given real interval.
The input interval must be supplied as object of type
Real Interval
The output is an array of intervals that contain at most two elements.
It will contain two elements if the input interval is finite.
It will contain one element if the input interval is infinite at one direction only, i.e. of the form (-∞,a) or (a,+∞), where a is any number.
It will contain no elements if the input interval is (-∞,+∞)