Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1999
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1999

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

Search the Archive

RE: Simplifying constants

  • To: mathgroup at smc.vnet.net
  • Subject: [mg18523] RE: [mg18489] Simplifying constants
  • From: "Ersek, Ted R" <ErsekTR at navair.navy.mil>
  • Date: Thu, 8 Jul 1999 22:32:56 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

Morten G. Dyndgaard wrote:
-----------------------------
I am working with some annoyingly long equations that I want to simplify
by including one set of parameters in a constant (or function) A, and
another in B and so on.

You can easily do:
A = b+c+d+e

but what I want to do is the reverse:
b+c+d+e = A
-----------------------------

This should help.
In[1]:=
expr=a+b+b1+c+c1+d+d1+e;


In[2]:=
expr/.a+b+c+d+e->A

Out[2]=
A+b1+c1+d1


Regards,
Ted Ersek


  • Prev by Date: LaTex on a Mac
  • Next by Date: Re: Kronecker product of matrices
  • Previous by thread: Simplifying constants
  • Next by thread: Re: Simplifying constants