Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

NameError: name 'AffineCurve_GF' is not defined

I try code from here:

http://sage.math.washington.edu/home/wdj/research/shaska.pdf

sage: F = GF(5) sage: A2 = AffineSpace(2, F, names = ’xy’) sage: R = A2.coordinate_ring() sage: x, y =R.gens() sage: f = yˆ2 - xˆ9 - x sage: C = AffineCurve_GF(A2,f) sage: pts = C.rational_points(); pts


NameError Traceback (most recent call last) <ipython-input-1-8d275f477b7b> in <module>() 4 x, y =R.gens() 5 f = yInteger(2) - xInteger(9) - x ----> 6 C = AffineCurve_GF(A2,f) 7 pts = C.rational_points(); pts

NameError: name 'AffineCurve_GF' is not defined

and copy code from pdf file,the "'" and "^" cannot show normal

click to hide/show revision 2
No.2 Revision

NameError: name 'AffineCurve_GF' is not defined

I try code from here:

http://sage.math.washington.edu/home/wdj/research/shaska.pdf

sage: F = GF(5)
sage: A2 = AffineSpace(2, F, names = ’xy’)
sage: R = A2.coordinate_ring()
sage: x, y =R.gens()
sage: f = yˆ2 - xˆ9 - x
sage: C = AffineCurve_GF(A2,f)
sage: pts = C.rational_points(); pts

pts

--------------------------------------------------------------------------- NameError Traceback (most recent call last) <ipython-input-1-8d275f477b7b> in <module>() 4 x, y =R.gens() 5 f = yInteger(2) y**Integer(2) - xInteger(9) x**Integer(9) - x ----> 6 C = AffineCurve_GF(A2,f) 7 pts = C.rational_points(); pts

pts

NameError: name 'AffineCurve_GF' is not defined

defined

and copy code from pdf file,the "'" and "^" cannot show normal