I am trying to find the basis of Riemann Roch space.
But I am getting following error.

1
33
(x, y - 1) + (x, y + 1) + (x - 2, y - 21) + (x - 3, y - 17) + (x - 3, y
+ 17) + (x - 20, y + 18) + (x + 17, y + 4) + (x + 14, y - 9) + (x + 11,
y + 11) + (x + 8, y + 13) + (x + 7, y + 9)
Traceback (click to the left of this block for traceback)
...
   ? expected intvec-expression. type 'help intvec;'



My code:

x,y = PolynomialRing(GF(43), 2, 'xy').gens()
X = Curve(x^3 + x+1-y^2)
print X.genus()
pts = X.rational_points(algorithm="bn")
print len(pts)

inds =[0,1,2,4,5,11,15,18,23,27,29]
ninds = [i for i in range(33) if not(i in inds)]
orbit = [pts[i] for i in inds];
supp = [ (1, pts[i]) for i in inds]
D = X.divisor(supp)
print D
basis = X.riemann_roch_basis(D)

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to