MathGroup Archive 2000

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

Search the Archive

ReplaceAll in Element[] Q

  • To: mathgroup at smc.vnet.net
  • Subject: [mg25599] ReplaceAll in Element[] Q
  • From: "Arturas Acus" <acus at itpa.lt>
  • Date: Wed, 11 Oct 2000 03:50:39 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Dear Group,

Could anybody help me in understanding this 
obviously strange behaviour

In[22]:=$Version

Out[22]="4.0 for Linux (April 21, 1999)"

In[23]:=ReplaceAll[Element[Alternatives[a, b], Reals], Alternatives -> List]

Out[23]=(a | b) \[Element] Reals

Why not replaced ??? Compare:

In[24]:=ReplaceAll[El[Alternatives[a, b], Reals], Alternatives -> List]

Out[24]=El[{a, b}, Reals]
 As expected
                                     
Dr. Arturas Acus
Institute of Theoretical
Physics and Astronomy
Gostauto 12, 2600,Vilnius
Lithuania 


E-mail: acus at itpa.lt
   Fax: 370-2-225361
   Tel: 370-2-612906


  • Prev by Date: Unusual speedup of Table
  • Next by Date: RE: tracing lines on surface-graphics
  • Previous by thread: Re: Unusual speedup of Table
  • Next by thread: Re: ReplaceAll in Element[] Q