Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
244 views
in Technique[技术] by (71.8m points)

Diff of a Sum as Sum of Diffs Sympy

Hi I am starting with sympy,

I want to write the diff of a sum as the dum os diff in sympy. I need to transform,

sp.Derivative(sp.Sum(f(x,t),(n,0,5)), x)

as

sp.Sum(sp.Derivative(f(x,t),x),(n,0,5))

unevaluated and keeping the Sigma of the summation if possible.

If I make doit() the operation is done but the sum is expanded. Is there a way to keep the Sigma symbol?

Thanks in advance and regards!

question from:https://stackoverflow.com/questions/66061701/diff-of-a-sum-as-sum-of-diffs-sympy

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...