Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • $\begingroup$ Without any insight into the code, for example what f is, we can not help you. For example, maybe f can be defined with Set instead of SetDelayed. You can always h[x_,y_]=f[x,y] and then work on h with g. $\endgroup$ Commented Aug 10, 2013 at 8:32
  • $\begingroup$ @Kuba, when use h in g, then when I evaluate g, would f will be evaluated? $\endgroup$ Commented Aug 10, 2013 at 8:35
  • $\begingroup$ @andre: Sorry for my typo in the post, but what I mean is that g[x_, y_] := ...f[x,y], not g[x_, y_] =: .... But thank you for your reply, because I don't know the difference between := and =. Would you mind explain a bit or a source? $\endgroup$ Commented Aug 10, 2013 at 8:50
  • $\begingroup$ about = and := there is reference.wolfram.com/mathematica/tutorial/… $\endgroup$ Commented Aug 10, 2013 at 9:11