3.2.0-25-generic #40-Ubuntu SMP Wed May 23 20:33:05 UTC 2012 i686 i686 i386
GNU/Linux

sage: version()
'Sage Version 5.0.1, Release Date: 2012-06-10'

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/dinka/Descargas/sage-5.0.1-linux-32bit-ubuntu_12.04_lts-i686-Linux/<ipython
console> in <module>()

/home/dinka/Descargas/sage-5.0.1-linux-32bit-ubuntu_12.04_lts-i686-Linux/local/lib/python2.7/site-packages/sage/structure/parent.so
in sage.structure.parent.Parent.__getattr__ (sage/structure/parent.c:6648)()

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

why?? help please!

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to