MathGroup Archive 2011

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

Search the Archive

Re: Just another Mathematica "Gotcha"

  • To: mathgroup at smc.vnet.net
  • Subject: [mg120792] Re: Just another Mathematica "Gotcha"
  • From: Glenn Carlson <g.crlsn at gmail.com>
  • Date: Thu, 11 Aug 2011 05:08:58 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com

Yes, I think it's a matter of precedence.  For example,

In[1]:= Normal /. b2 -> 0
Series[a + (b1 + b2) x, {x, 0, 1}] // %

Out[1]= Normal
Out[2]= a + (b1 + b2) x

At my level of proficiency with Mathematica, I shy away from stringing together too many operations. I prefer smaller, more manageable portions. 

It took my brain some time before it allowed me to see [1] as a legitimate operation.  Is [1] just a curiosity? Or is there a situation that would call for such usage?

Thanks and regards,
Glenn




  • Prev by Date: Re: Just another Mathematica "Gotcha"
  • Next by Date: Re: ?
  • Previous by thread: Re: Just another Mathematica "Gotcha"
  • Next by thread: Re: Just another Mathematica "Gotcha"