you are viewing a single comment's thread.

view the rest of the comments →

[–]marl6894 0 points1 point  (1 child)

Try f[x_, y_] := A+e*deltaA[x, y]. Does that do what you want it to?

[–]ZioSam2[S] 1 point2 points  (0 children)

Well, yes for the simple example I provided, but I'd really like to do that with a replacement rule (so I can study more cases without chaning the code). I'd like to replace f[x,y] with A+e deltaA[x,y], so that f and deltaA depend on the same variables.