Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2012

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

Search the Archive

Re: Relational operators on intervals: bug?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg128645] Re: Relational operators on intervals: bug?
  • From: Bob Hanlon <hanlonr357 at gmail.com>
  • Date: Tue, 13 Nov 2012 00:03:58 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net
  • References: <k7p3j3$ca3$1@smc.vnet.net>

$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"