MathGroup Archive 1997

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

Search the Archive


  • To: mathgroup at
  • Subject: [mg7338] rules->function
  • From: Lord of Darkness <j.biddiscombe at>
  • Date: Tue, 27 May 1997 22:27:18 -0400 (EDT)
  • Organization: Rutherford Appleton Laboratory
  • Sender: owner-wri-mathgroup at

Hello All,

If I solve a set of simultaneous equations and get a simple answer like
zrule = z-> x^2 + y^2

but I then want to evaluate
fn[x_,y_] := z + some more stuff.....

I tried saying

fn[x_,y_] := Replace[z,zrule] + ....

but it doesn't seem to handle it the way I wanted...

Is there a correct way of doing this ?


John B

  • Prev by Date: Mathematica on IRC
  • Next by Date: Re: Export Numbers
  • Previous by thread: Mathematica on IRC
  • Next by thread: Re: rules->function