Interval

constructor(a: Double, b: Double)(source)

Initializes an Interval instance using two double values. The lowest value becomes lo, and the highest value becomes hi.

Parameters

a

The first boundary of the interval.

b

The second boundary of the interval.