[sage-support] Divisor and Riemman Roch

2012-06-15 Thread Gato
help me please: sage: F.=GF(4,'w') sage: R. = ProjectiveSpace(F,2) sage: C = Curve(X^2*Y + w*Y^2*Z+ w^2*Z^2*X) sage: print C Projective Curve over Finite Field in w of size 2^2 defined by X^2*Y + (w)*Y^2*Z + (w + 1)*X*Z^2 sage: print C.genus() 1 sage: pts = C.rational_points() sage: print pts[4]

[sage-support] Re: riemann roch basis

2012-06-13 Thread Gato
I think the problem is w in the function associated to the curve* > -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group

[sage-support] riemann roch basis

2012-06-13 Thread Gato
hello! i have a question with this code (i speak little english) F.=GF(4,'w') R. = ProjectiveSpace(F,2) C = Curve(X^2*Y + w*Y^2*Z+ w^2*Z^2*X) print C print C.genus() pts = C.rational_points() print pts[4] print pts[5] D = C.divisor([ (2, pts[4]),(1, pts[5]) ]) print D print C.riemann_roch_basis(D)