help me please:

sage: F.<w>=GF(4,'w')
sage: R.<X,Y,Z> = 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]
(1 : w : 1)
sage: print pts[5]
(w : 1 : 1)
sage: D = C.divisor([ (2, pts[4]),(1, pts[5]) ])
sage: print C.riemann_roch_basis(D)
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)

/home/valpo/Descargas/sage-4.8/<ipython console> in <module>()

/home/valpo/Descargas/sage-4.8/local/lib/python2.6/site-packages/sage/structure/parent.so
 
in sage.structure.parent.Parent.__getattr__ (sage/structure/parent.c:6249)()

AttributeError: 'ProjectiveCurve_finite_field' object has no attribute 
'riemann_roch_basis'


why??

-- 
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
URL: http://www.sagemath.org

Reply via email to