[Date Index] [Thread Index] [Author Index]
Re: D[myFunc[g[x]]] -> myFunc[D[g[x],x]: How to do in ch
You (simonc at hpcpbla.bri.hp.com (Simon Chandler)) write: (* Hi mathgroup, I hope you can help with this problem. I want to give the function 'myFunc' the property of being 'transparent' to differentiation. i.e., I want to have d myFunc[g[x]] d g[x] -------------- give me myFunc[ ------ ] (1) dx dx where g is an arbitrary function. "Easy" I hear you say, just write... *) You might try: myFunc'[g_[x_]] := myFunc[g'[x]]/g'[x] Alternatively, you could redefine D, but I'm not at all sure that would be a good idea. -- Arthur L. Rubin: a_rubin at dsg4.dse.beckman.com (work) Beckman Instruments/Brea 216-5888 at mcimail.com 70707.453 at compuserve.com arthur at pnet01.cts.com (personal) My opinions are my own, and do not represent those of my employer.