Re: Working with D, definition of a function

*To*: mathgroup at smc.vnet.net*Subject*: [mg75991] Re: Working with D, definition of a function*From*: CKWong <CKWong.P at gmail.com>*Date*: Mon, 14 May 2007 03:51:36 -0400 (EDT)*References*: <f26nfr$450$1@smc.vnet.net>

Your ComPathPrime[2,1] fails for the same reason that D[ x, 2 ] fails. Remedy: ComPathPrime[w_, mu_] := D[ComPath[ww, mu, 0], ww] /. ww -> w