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


Groups > comp.soft-sys.math.mathematica > #6304 > unrolled thread

Re: How to evaluate parts of an expression, but not other parts?

Started byJulian Francis <julian.w.francis@gmail.com>
First post2011-11-09 11:41 +0000
Last post2011-11-09 11:41 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: How to evaluate parts of an expression, but not other parts? Julian Francis <julian.w.francis@gmail.com> - 2011-11-09 11:41 +0000

#6304 — Re: How to evaluate parts of an expression, but not other parts?

FromJulian Francis <julian.w.francis@gmail.com>
Date2011-11-09 11:41 +0000
SubjectRe: How to evaluate parts of an expression, but not other parts?
Message-ID<j9dou0$b7k$1@smc.vnet.net>
Thank you all for your suggestions.

I have just realised I can probably get the effect I am looking for by
just not using the built in Mathematica Plus function. If I call the
function MyPlus instead,
then MyPlus[ MyPlus[a,b] , MyPlus[c,d] ] does the evaluation for
a,b,c,d but doesn't try to combine the MyPlus's together. Not
surprisingly as it can't presumably
without any other definitions.

I think it's pretty simple, and does what I want.

I will have a look at some of your other Hold solutions (just in case
I want to use this elsewhere to actually evaluate whole expressions
and do want the Plus's to be evaluated).

Once again, thank you all.

Kind regards,
Julian.

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web