Skip to content

Basic

Details

Returns the additive inverse of the interval −x-x.

−:IR→IR-: \mathbb{IR} \rightarrow \mathbb{IR}


Details

Returns the interval sum a+ba + b.

+:IR×IR→IR+: \mathbb{IR}\times\mathbb{IR} \rightarrow \mathbb{IR}


Details

Returns the interval difference a−ba - b.

−:IR×IR→IR-: \mathbb{IR}\times\mathbb{IR} \rightarrow \mathbb{IR}


Details

Returns the interval product a×ba \times b.

×:IR×IR→IR\times: \mathbb{IR}\times\mathbb{IR} \rightarrow \mathbb{IR}


Details

Returns the interval quotient x/yx / y.

÷:IR×IR→IR\div: \mathbb{IR}\times\mathbb{IR} \rightarrow \mathbb{IR}


interval<T> recip(interval<T> a)

[source]
Details

Returns the reciprocal interval 1/x1/x.

1/x:IR→IR1/x: \mathbb{IR} \rightarrow \mathbb{IR}


Details

Returns the interval square x2x^2.

x2:IR→IR≥0x^2: \mathbb{IR} \rightarrow \mathbb{IR}_{\ge \mathbf{0}}


Details

Returns the interval square root x\sqrt{x}.

x:IR≥0→IR≥0\sqrt{x}: \mathbb{IR}_{\ge \mathbf{0}} \rightarrow \mathbb{IR}_{\ge \mathbf{0}}


interval<T> fma(interval<T> x, interval<T> y, interval<T> z)

[source]
Details

Returns the fused multiply-add x⋅y+zx \cdot y + z.

x⋅y+z:IR×IR×IR→IRx\cdot y + z: \mathbb{IR}\times\mathbb{IR}\times\mathbb{IR} \rightarrow \mathbb{IR}


T mig(interval<T> x)

[source]
Details

Returns the midpoint-inclusion generator for interval xx.

mig:IR→R\mathrm{mig}: \mathbb{IR} \rightarrow \mathbb{R}


T mag(interval<T> x)

[source]
Details

Returns the magnitude (maximum absolute value) of interval xx.

mag:IR→R\mathrm{mag}: \mathbb{IR} \rightarrow \mathbb{R}


T rad(interval<T> x)

[source]
Details

Returns the radius (half-width) of interval xx.

rad:IR→R\mathrm{rad}: \mathbb{IR} \rightarrow \mathbb{R}


Details

Returns the absolute value interval ∣x∣|x|.

∣x∣:IR→IR≥0\left|x\right|: \mathbb{IR} \rightarrow \mathbb{IR}_{\ge \mathbf{0}}


Details

Returns the interval minimum of xx and yy.

min⁡:IR×IR→IR\min: \mathbb{IR}\times\mathbb{IR} \rightarrow \mathbb{IR}


Details

Returns the interval maximum of xx and yy.

max⁡:IR×IR→IR\max: \mathbb{IR}\times\mathbb{IR} \rightarrow \mathbb{IR}


Details

Returns the interval cube root x3\sqrt[3]{x}.

x3:IR→IR\sqrt[3]{x}: \mathbb{IR} \rightarrow \mathbb{IR}


Details

Returns the interval absolute value ∣x∣|x|.

∣x∣:IR→IR≥0\left|x\right|: \mathbb{IR} \rightarrow \mathbb{IR}_{\ge \mathbf{0}}


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

[source]
Details

Returns the interval maximum of xx and yy.

fmax:IR×IR→IR\mathrm{fmax}: \mathbb{IR}\times\mathbb{IR} \rightarrow \mathbb{IR}


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

[source]
Details

Returns the interval minimum of xx and yy.

fmin:IR×IR→IR\mathrm{fmin}: \mathbb{IR}\times\mathbb{IR} \rightarrow \mathbb{IR}