Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- myOp[Plus[f_, g_]] := myOp[f] + myOp[g]
- myOp[a_ f_[x_, t_]] := a myOp[f[x, t]]
- myOp[D[f_[x_, t_], {x_, n_}]] := Derivative[n, 0][myOp[f[x, t]]][x, t]
- SetAttributes[myOp, Constant]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement