1
> One := procedure();                         
procedure> P2<x,y,z> := ProjectiveSpace(Rationals(),2);
procedure> for i := 1 to 100 do
procedure|for> C_i := Curve(P2, x^3+y^3-i*z^3);
procedure|for> E_i, C_itoE_i := EllipticCurve(C_i);
procedure|for> G, map := MordellWeilGroup(E_i);
procedure|for> print Generators(E_i);
procedure|for> end for;
procedure> end procedure;


> One;
procedure() ... end procedure

由于某种原因,此方法仅打印出“procedure() ... end procedure”。老实说,我不知道为什么,我尝试修复它,但在上一个。代码 C_i 和 E_i 是 for 循环中的有效概念。你不必告诉我确切的错误,甚至不需要知道 Magma,但如果你能帮助我解决这个问题,那就太好了(比如团队合作?)。

4

1 回答 1

1

Try calling the procedure:

> One();

(It's been a long time since I've done anything with Magma, but it looks like One; on its own evaluates to the procedure itself.)

于 2014-09-10T08:01:49.393 回答