Expand square of a Sum into a double Sum in sympy

前端 未结 0 914
独厮守ぢ
独厮守ぢ 2020-11-21 23:00

The square of a finite sum can be expanded into a double sum, like (fake latex):

(sum_i v_i)^2 = sum_i sum_j (v_i*v_j)

with respective lower and upper bounds.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题