MathGroup Archive 1992

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: D[myFunc[g[x]]] -> myFunc[D[g[x],x]: How to do in ch

  • To: mathgroup at yoda.physics.unc.edu
  • Subject: Re: D[myFunc[g[x]]] -> myFunc[D[g[x],x]: How to do in ch
  • From: a_rubin at dsg4.dse.beckman.com (arthur rubin)
  • Date: Tue, 25 Aug 92 07:25:38 PDT

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.






  • Prev by Date: D[myFunc[g[x]
  • Next by Date: Pattern matching with Dt.
  • Previous by thread: D[myFunc[g[x]
  • Next by thread: Pattern matching with Dt.