2

My question is about assigning the resulting expression after evaluation of a function.

So what I want:

FOCf[x, y] := D[f[x, y], x]

such it immediately evaluates the right hand side, making it a conditional expression.

How I do it now.

I first shift-enter: D[f[x, y], x]. Then, I manually copy the resulting output to the right end of FOCf[x, y] :=.

Is there a better way to do this? I already tried using Evaluate, but that did not seem to work.

J. M.'s missing motivation
  • 124,525
  • 11
  • 401
  • 574

0 Answers0