Skip to content

Utility

T inf(interval<T> x)

[source]
Details

Returns the infimum (lower bound) of interval xx.

inf:IRR\inf: \mathbb{IR} \rightarrow \mathbb{R}


T sup(interval<T> x)

[source]
Details

Returns the supremum (upper bound) of interval xx.

sup:IRR\sup: \mathbb{IR} \rightarrow \mathbb{R}


T mid(interval<T> x)

[source]
Details

Returns the midpoint of interval xx.

mid:IRR\mathrm{mid}: \mathbb{IR} \rightarrow \mathbb{R}


T width(interval<T> x)

[source]
Details

Returns the width of interval xx.

width:IRR0\mathrm{width}: \mathbb{IR} \rightarrow \mathbb{R}_{\ge \mathbf{0}}