Ask Your Question

tigerjack's profile - activity

2023-06-05 18:53:23 +0200 received badge  Notable Question (source)
2023-02-23 15:01:55 +0200 received badge  Popular Question (source)
2021-02-03 11:07:45 +0200 commented question Undefined symbol st_new

Yes, I am. Apparently the problem has been solved https://bugs.archlinux.org/index.php?... I still didn't have the chance to test though.

2021-02-02 15:40:07 +0200 received badge  Scholar (source)
2021-02-01 14:04:06 +0200 received badge  Editor (source)
2021-02-01 11:24:49 +0200 asked a question Undefined symbol st_new

I have globally installed sagemath and I'm experiencing an undefined symbol problem. Each time I try to do

from sage.all import *

I get this error

ImportError: /usr/lib/python3.9/site-packages/sage/libs/lrcalc/lrcalc.cpython-39-x86_64-linux-gnu.so: undefined symbol: st_new

How can I fix the problem?

EDIT: This is the crash report I get when trying to launch sage from terminal. link text

2021-01-28 08:59:45 +0200 commented answer Simplify symbolic product

Thanks for your reply. Indeed, the function is quite faster. I wonder why, during variable substitutions, it doesn't apply this procedure.

2021-01-27 20:28:07 +0200 received badge  Supporter (source)
2021-01-27 16:34:38 +0200 received badge  Nice Question (source)
2021-01-27 16:23:49 +0200 received badge  Student (source)
2021-01-27 16:22:23 +0200 asked a question 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.