MathGroup Archive 2004

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

Search the Archive

Re: Using the same symbol for different quantities


In article <co73t2$535$1 at smc.vnet.net>,
 David Bailey <dave at Remove_Thisdbailey.co.uk> wrote:

> However, you will gain much flexibility by not defining things with '=', 
> but using transformation rules. For example, this gives you what you want:
> 
> z /. {y -> f[x], z -> g[y]}


And maybe name your rules at the beginning of your notebook, e.g.

    myRules = {y -> f[x], z -> g[y]}

and then further down

    z /. myRules

Gives you flexibility to change your rules if you change your notation 
later on.


  • Prev by Date: Re: Projections
  • Next by Date: Re: Non-algebraic solution
  • Previous by thread: Re: Using the same symbol for different quantities
  • Next by thread: Re : Principal Value integral