Vocabulary

math.intervals

Class description

An interval represents a set of real numbers between two endpoints; the endpoints can either be included or excluded from the interval.

The from and to slots store endpoints, represented as arrays of the shape { number included? }.

Intervals are created by calling [a,b], (a,b), [a,b), (a,b] or [a,a].

Definition

Methods

math.intervals

Class description

An interval represents a set of real numbers between two endpoints; the endpoints can either be included or excluded from the interval.

The from and to slots store endpoints, represented as arrays of the shape { number included? }.

Intervals are created by calling [a,b], (a,b), [a,b), (a,b] or [a,a].

Definition

Methods