MathGroup Archive 2006

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

Search the Archive

? about Rule

  • To: mathgroup at smc.vnet.net
  • Subject: [mg67144] ? about Rule
  • From: jackgoldberg at comcast.net
  • Date: Sat, 10 Jun 2006 04:54:02 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi Everyone,

I am totally puzzled by this and I'm not an Mathematica beginner.  

Let   b = {x == 1, 1 ≤ y ≤ 2, z == 3}   I want to replace  1 ≤ y ≤ 2  by something else, for this question say  12.  So  b/. (a_ ≤ u_ ≤ b_) -> 12 should return  
{x == 1, 12, z == 3}   It doesn't.  Why?  Even this  b/. (1≤ y ≤ 2) -> 12  doesn't work.   I'm at a loss...

Jack


  • Prev by Date: Re: Selecting Real Roots, Again
  • Next by Date: Llearning Mathematica
  • Previous by thread: Re: List Comparison
  • Next by thread: Re: ? about Rule