AbstractLattices.:∧
— MethodJ ∧ K
is the largest ClosedInterval
contained in both. See also *
.
AbstractLattices.:∨
— MethodJ ∨ K
is the smalles ClosedInterval
containing both. See also +
.
Base.:*
— MethodFor ClosedInterval
s J
and K
, J*K
is their intersection. Also available as J ∧ K
.
Base.:+
— MethodFor ClosedInterval
s J
and K
, J+K
is the smallest ClosedInterval
containing them both. This is also available as J ∨ K
.
Base.:<<
— MethodFor ClosedInterval
s I
and J
, I<<J
tests if I
is completely to the left of J
.
Base.:>>
— MethodFor ClosedInterval
s I
and J
, I>>J
tests if I
is completely to the right of J
.
Base.in
— MethodFor a number x
and a ClosedInterval
I
(of the same type) in(x,I)
tests if x
is contained in the interval I
.
Base.isempty
— MethodFor a ClosedInterval I
, isempty(I)
tests if I
is an empty interval.
Base.isless
— MethodLexicographic ordering of ClosedInterval
s.
Base.length
— Methodlength(I)
is the length of the ClosedInterval
I
.
ClosedIntervals.EmptyInterval
— FunctionEmptyInterval(T::DataType = Float64)
creates an empty ClosedInterval
of a given type.
ClosedIntervals.left
— MethodFor a ClosedInterval
I
, left(I)
returns its left end point.
ClosedIntervals.right
— MethodFor a ClosedInterval
I
, right(I)
returns its right end point.