ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Wed, 27 Jan 2021 15:21:13 +0100Simplify symbolic producthttps://ask.sagemath.org/question/55471/simplify-symbolic-product/As per the title, I want to simplify this product somehow.
var('i,r')
exp = product(1-2**(-i), i, 1, r)
This can be also expressed as
q_pochhammer(r, 2, 2)
However, the latest expression does not accept the symbolic variable `r`, but only a real integer.
The main problem is that the actual computation (f.e. `exp.unhold().subs({r: 12345})` takes a huge amount of time. Is there any way to simplify this product in sage or accelerate this computation somehow? I've already tried all the simplify/expand methods, but also the `combsimp` method of `sympy`.
As a side question, is there any way to use the `q_pochhammer` function symbolically? Maybe I can use the hypergeometric simplifications on it.tigerjackWed, 27 Jan 2021 15:21:13 +0100https://ask.sagemath.org/question/55471/Symbolic product in Sage?https://ask.sagemath.org/question/9047/symbolic-product-in-sage/Suppose I'd like to compute
prod(1/x^4, x, 1, oo)
How can this be done?
I found an old [thread](https://groups.google.com/forum/?fromgroups#!topic/sage-support/ZLfVooTBLvw), but with no answers.bk322Fri, 08 Jun 2012 14:13:32 +0200https://ask.sagemath.org/question/9047/