This package provides a basic implementation of thick intervals for the Julia language. It builds on top of IntervalArithmetic.jl.
A thick interval is an interval with uncertain bounds; that is, the bounds are intervals themselves.
This package requires IntervalArithmetic.jl to function properly, so its prerequisites also apply.
You can install both packages using the following command in the Julia REPL:
using Pkg; Pkg.add(["IntervalArithmetic", "ThickIntervals"])using ThickIntervalsConsidering an interval
a = thickinterval(1, 2, 3, 4);Given a second thick interval
b = thickinterval(interval(2.25, 2.75), interval(3.5, 4.5));Currently, the basic arithmetic operations
diff = a - b
# ⟦[-3.5, -1.5], [0.25, 1.75]⟧