MathGroup Archive 2010

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

Search the Archive

Re: Peculiar output from Union ?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg108523] Re: Peculiar output from Union ?
  • From: Tomas Garza <tgarza10 at msn.com>
  • Date: Sun, 21 Mar 2010 02:07:54 -0500 (EST)

Yes. The argument of Union must be a list (see DocCenterHelp). Check:

In[1]:== Union[{1<x<2,3<x<5}]
Out[1]== {1<x<2,3<x<5}

as it should.

Tomas

> Date: Sat, 20 Mar 2010 02:46:52 -0500
> From: jackgold at umich.edu
> Subject: [mg108503] Peculiar output from Union ?
> To: mathgroup at smc.vnet.net
>
> Hi Folks,
>
> Can anyone explain this:
>
> In[1]:== Union[  1 < x < 2, 3 < x < 5  ]
>
> Out[1]== 5 < x
>
> ??
>
> I am using a MacBook Pro, OS 10.6.2
>
> Thanks,
>
> Jack
>


  • Prev by Date: real and imaginary part of a complex number
  • Next by Date: Re: Peculiar output from Union ?
  • Previous by thread: Peculiar output from Union ?
  • Next by thread: Re: Peculiar output from Union ?