MathGroup Archive 1998

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

Search the Archive

Re: Union[{0},{0.}] = {0,0.}?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg12688] Re: Union[{0},{0.}] = {0,0.}?
  • From: FalkoSch at t-online.de (Falko Schmidt)
  • Date: Wed, 3 Jun 1998 02:20:43 -0400
  • References: <6kvpko$7hl@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Chris Farr schrieb in Nachricht <6kvpko$7hl at smc.vnet.net>...
>Union[{0},{0.}] = {0,0.}.
>
>Why?
>
>I would like the above to return only {0}.
>


Notice the heads of your details!

In[1]:=Head[0]
Out[1]=Integer
In[2]:=Head[0.]
Out[2]=Real



  • Prev by Date: Re: Thickness of ContourPlot[] lines?
  • Next by Date: Absolute coordinates in Mathematica
  • Previous by thread: RE: Union[{0},{0.}] = {0,0.}?
  • Next by thread: Re: Union[{0},{0.}] = {0,0.}?