Pari/gp getting stuck while running

14 views
Skip to first unread message

saad khalid

unread,
Oct 14, 2019, 6:46:15 PM10/14/19
to sage-support
Hi all:

This is a question about usage on Cocalc, apologies if this isn't the right place. I'm trying to run the following commands in cocalc:
%gp
e
(x) = exp(Pi*I*x);
e
(1)
Thn(n,z,t,a,b) = e((n+a)^2*t) * e(2*(n+a)*(z+b));
{Th(z,t,a,b) = suminf(n=0,Thn(n,z,t,a,b)) +
               suminf
(n=1,Thn(-n,z,t,a,b))};

Essentially, I'm trying to define the theta function with characteristic. However, the cell seems to get stuck forever in loading whenever I run this. OOH, when I run this same command on pari on my desktop, it works very quickly. Does anyone know what the issue might be?

Thanks!
Reply all
Reply to author
Forward
0 new messages