I am newbie thus please forgive me if my request is trivial! I want to read a file of gp extension. And in that file, I have functions. How could call these functions when I want to use it? \r Example: In sage notebook() \r
- List item pari.allocatemem(90000000) Z.<x>=GF(2)[] \r List item p = x^163 + x^7 + x^6 + x^3 + 1\r b = 0x423d0900aeb5645491fee539c297946cbc6a4f1f5\r p1 = p.polynomial(x)\r bb = Z(b.digits(2))\r a1 = gp.Mod(bb._pari_(), p)\r pari.read(get_remote_file("http://pages.cs.wisc.edu/~yeoh/nt/satoh-fgh.gp"))\r gp.ecpc(p1, a1)\r \r When, I try the above code in a terminal, it works fine. But when I try it in sage notebook(), it works till line 8. And when it reaches 9, it says
Traceback (click to the left of this block for traceback) ... * not a function in function call That means, I am unable to call the function ecpc inside the file. Thus, could you help me how to access that function being outside?