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


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

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

From Julian Francis <julian.w.francis@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: How to evaluate parts of an expression, but not other parts?
Date 2011-11-09 11:41 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <j9dou0$b7k$1@smc.vnet.net> (permalink)
References <32289202.13251.1320484280567.JavaMail.root@m06>

Show all headers | View raw


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.

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


Thread

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

csiph-web