Skip to main content

Intervals

Constructor of all kind of intervals: (a,b),[a,b),(a,b],[a,b].

Syntax

interval_open_open(Real, Real)
interval_open_close(Real, Real)
interval_close_open(Real, Real)
interval_close_close(Real, Real)

Description

Given two reals a and b, constructs the interval (a,b).

logic_and_sets.interval_open_open.calc.png

Given two reals aa and bb, constructs the interval (a,b].

logic_and_sets.interval_open_close.calc.png

Given two reals aa and bb, constructs the interval [a,b).

logic_and_sets.interval_close_open.calc.png

Given two reals aa and bb, constructs the interval [a,b].

logic_and_sets.interval_close_close.calc.png