MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Relational operators on intervals: bug?


$Version

"8.0 for Mac OS X x86 (64-bit) (October 5, 2011)"

IntervalIntersection[Interval[{0, 2}], Interval[{6, 8}]]

Interval[]


Min[Interval[]]

Infinity


Max[Interval[]]

-Infinity


IntervalMemberQ[
   Interval[], #] & /@
 {-Infinity, -$MaxNumber, -1, -$MinNumber,
  0, $MinNumber, 1, $MaxNumber, Infinity}

{False, False, False, False, False, False, False, False, False}

So Interval[] is the range of all values Greater than Infinity and
less than -Infinity, appears to be "empty."


Bob Hanlon


On Mon, Nov 12, 2012 at 3:07 AM, Richard Fateman
<fateman at cs.berkeley.edu> wrote:
> On 11/11/2012 12:59 PM, bertiiiiiiiiiiiiiiiiiiiiiiiiii at gmail.com wrote:
>
>> 1. Comparision of any Interval[___] to the empty interval Interval[]:
>>
>
> What makes you think that this is a notation for an empty Interval,
> whatever that is?
>
>
>



  • Prev by Date: Re: Relational operators on intervals: bug?
  • Next by Date: Re: Relational operators on intervals: bug?
  • Previous by thread: Re: Relational operators on intervals: bug?
  • Next by thread: Astronomical Data, property "position"