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

isEmpty(RRi) -- empty test for an interval

Description

Returns true if the input interval is empty, i.e., the left endpoint is to the right of the right endpoint.

i1 : isEmpty interval(1,2)

o1 = false
i2 : isEmpty interval(2,1)

o2 = true
i3 : isEmpty interval(1,2*ii)

o3 = true

See also

Ways to use this method:


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