Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #12041

D under Sum

From Nicolas Venuti <nicolas@virtualdynamics.fr>
Newsgroups comp.soft-sys.math.mathematica
Subject D under Sum
Date 2012-10-11 06:23 +0000
Message-ID <k55olv$eb3$1@smc.vnet.net> (permalink)
Organization Time-Warner Telecom

Show all headers | View raw


Hello

I want the derivation D to be applied under the Sum sign,
I have a function HoldSum that do not evaluate but is similar to Sum in form

In[3]:= D[HoldSum[p*i, {i, 1, n}], p]

I get the output :

Out[3]=i*HoldSum^(1, {0, 0, 0})[i p, {i, 1, n}]

but I would want that D be applied under the Sum sign like done by hand here :

In[5]:= HoldSum[D[p i, i], {i, 1, n}]

Out[5]= HoldSum[p, {i, 1, n}]

Obviously I want D to work for any expression containing HoldSum (even on nested HoldSum expression)

Does anybody knows how to do that ?

Best regards

Nicolas

Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

D under Sum Nicolas Venuti <nicolas@virtualdynamics.fr> - 2012-10-11 06:23 +0000
  Re: D under Sum Roland Franzius <roland.franzius@uos.de> - 2012-10-13 05:06 +0000

csiph-web