Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #4314

Re: Just another Mathematica "Gotcha"

From Glenn Carlson <g.crlsn@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Just another Mathematica "Gotcha"
Date 2011-08-11 09:10 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <j2069b$6vn$1@smc.vnet.net> (permalink)

Show all headers | View raw


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

Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Re: Just another Mathematica "Gotcha" Glenn Carlson <g.crlsn@gmail.com> - 2011-08-11 09:10 +0000
  Re: Just another Mathematica "Gotcha" David Bailey <dave@removedbailey.co.uk> - 2011-08-12 09:08 +0000

csiph-web