Skip to content

Set

interval<T> intersection(interval<T> x, interval<T> y)

[source]
Details

Returns the intersection of intervals xx and yy.

±0 ulps

:IR×IRIR\cap: \mathbb{IR}\times\mathbb{IR} \rightarrow \mathbb{IR}


interval<T> convex_hull(interval<T> x, interval<T> y)

[source]
Details

Returns the convex hull of intervals xx and yy.

±0 ulps

convexHull:IR×IRIR\mathrm{convexHull}: \mathbb{IR}\times\mathbb{IR} \rightarrow \mathbb{IR}


Details

Returns the hull (smallest interval containing xx and yy).

±0 ulps

hull:IR×IRIR\mathrm{hull}: \mathbb{IR}\times\mathbb{IR} \rightarrow \mathbb{IR}