Macaulay2 » Documentation
Packages » Macaulay2Doc » rings » basic rings of numbers » RRi » span
next | previous | forward | backward | up | index | toc

span -- construct smallest interval

Description

Returns the smallest interval containing the inputs (which can include intervals). Typically, the returned interval is not empty.

i1 : span(1,4,interval(2,5),interval(-3))

o1 = [-3,5]

o1 : RRi (of precision 53)
i2 : span(1 + 3*ii, pi, 4 + ii)

o2 = [1,4]+[0,3]*ii

o2 : CCi (of precision 53)

See also

Ways to use span:

  • span(CCi,CCi)
  • span(CCi,RRi)
  • span(List)
  • span(Number)
  • span(Number,Number)
  • span(RRi,CCi)
  • span(RRi,RRi)
  • span(Sequence)

For the programmer

The object span is an associative binary method function.


The source of this document is in /build/reproducible-path/macaulay2-1.26.05+ds/M2/Macaulay2/packages/Macaulay2Doc/doc_intervals.m2:281:0.