next | previous | forward | backward | up | top | index | toc | Macaulay2 website
NumericalCertification :: interval

interval -- construct an interval

Description

This function is used to access a type Interval.

i1 : J = interval(3)

o1 = [3, 3]

o1 : Interval
i2 : I = interval(.5,.8)

o2 = [.5, .8]

o2 : Interval

Users can make an interval which has polynomials as entries.

i3 : R = QQ[x];
i4 : J = interval(5,3*x)

o4 = [5, 3x]

o4 : Interval

The type Interval can also be an input for the interval.

i5 : I = interval(.5,.8)

o5 = [.5, .8]

o5 : Interval
i6 : J = interval I

o6 = [.5, .8]

o6 : Interval

Ways to use interval :

For the programmer

The object interval is a method function.