I want to re-express the variable z and p in the following form:
func = (z + p)+(z*p)^3+ z^3+ p^2 /.z-> Dx*Exp[x*z+y*p]/.p-> Dy*Exp[x*z+y*p]
where Dx and Dy are the derivative acting on x and y. Now by integrating and manipulating func, I want to explicitly take the derivative Dx and Dy like D[Exp[..],x] and setting x->0 and y->0.
Can somebody help me out how to do this
HoldForm
on the derivative replacements, or hold subscript\[PartialD]
(∂) and remove the asterisks, which would look like this:func = (z + p) + (z*p)^3 + z^3 + p^2 /. {z -> HoldForm[\!\( \*SubscriptBox[\(\[PartialD]\), \(x\)]\(Exp[x*z + y*p]\)\)]} /. p -> HoldForm[\!\( \*SubscriptBox[\(\[PartialD]\), \(y\)]\(Exp[x*z + y*p]\)\)]
$\endgroup$