Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Minor typo fixes in orbit_structure.
Browse files Browse the repository at this point in the history
'=' changed to ' = ' in some of the examples.
  • Loading branch information
Grayson Jorgenson committed Sep 13, 2014
1 parent cc902e7 commit c92eb76
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 22 deletions.
20 changes: 10 additions & 10 deletions src/sage/schemes/affine/affine_point.py
Expand Up @@ -298,26 +298,26 @@ def orbit_structure(self,f):
EXAMPLES::
sage: P.<x,y,z>=AffineSpace(GF(5),3)
sage: H=Hom(P,P)
sage: f=H([x^2+y^2,y^2,z^2+y*z])
sage: P.<x,y,z> = AffineSpace(GF(5),3)
sage: H = Hom(P,P)
sage: f = H([x^2 + y^2,y^2,z^2 + y * z])
sage: P(1,1,1).orbit_structure(f)
[0, 6]
::
sage: P.<x,y,z>=AffineSpace(GF(7),3)
sage: X=P.subscheme(x^2-y^2)
sage: H=Hom(X,X)
sage: f=H([x^2,y^2,z^2])
sage: P.<x,y,z> = AffineSpace(GF(7),3)
sage: X = P.subscheme(x^2 - y^2)
sage: H = Hom(X,X)
sage: f = H([x^2,y^2,z^2])
sage: X(1,1,2).orbit_structure(f)
[0, 2]
::
sage: P.<x,y>=AffineSpace(GF(13),2)
sage: H=Hom(P,P)
sage: f=H([x^2-y^2,y^2])
sage: P.<x,y> = AffineSpace(GF(13),2)
sage: H = Hom(P,P)
sage: f = H([x^2 - y^2,y^2])
sage: P(3,4).orbit_structure(f)
[2, 6]
"""
Expand Down
4 changes: 2 additions & 2 deletions src/sage/schemes/projective/projective_morphism.py
Expand Up @@ -2827,7 +2827,7 @@ def orbit_structure(self, P):
sage: P.<x,y,z> = ProjectiveSpace(GF(5),2)
sage: H = Hom(P,P)
sage: f = H([x^2+y^2,y^2,z^2 + y*z])
sage: f = H([x^2 + y^2,y^2,z^2 + y*z])
sage: f.orbit_structure(P(2,1,2))
[0, 6]
Expand All @@ -2844,7 +2844,7 @@ def orbit_structure(self, P):
sage: P.<x,y> = ProjectiveSpace(GF(13),1)
sage: H = Hom(P,P)
sage: f = H([x^2-y^2,y^2])
sage: f = H([x^2 - y^2,y^2])
sage: f.orbit_structure(P(3,4))
[2, 3]
"""
Expand Down
20 changes: 10 additions & 10 deletions src/sage/schemes/projective/projective_point.py
Expand Up @@ -1173,27 +1173,27 @@ def orbit_structure(self,f):
EXAMPLES::
sage: P.<x,y,z>=ProjectiveSpace(GF(5),2)
sage: H=Hom(P,P)
sage: f=H([x^2+y^2,y^2,z^2 + y*z])
sage: P.<x,y,z> = ProjectiveSpace(GF(5),2)
sage: H = Hom(P,P)
sage: f = H([x^2 + y^2,y^2,z^2 + y*z])
sage: P(1,0,1).orbit_structure(f)
[0, 1]
::
sage: P.<x,y,z>=ProjectiveSpace(GF(17),2)
sage: X=P.subscheme(x^2-y^2)
sage: H=Hom(X,X)
sage: f=H([x^2,y^2,z^2])
sage: P.<x,y,z> = ProjectiveSpace(GF(17),2)
sage: X = P.subscheme(x^2-y^2)
sage: H = Hom(X,X)
sage: f = H([x^2,y^2,z^2])
sage: X(1,1,2).orbit_structure(f)
[3, 1]
::
sage: R.<t> = GF(13^3)
sage: P.<x,y>=ProjectiveSpace(R,1)
sage: H=Hom(P,P)
sage: f=H([x^2-y^2,y^2])
sage: P.<x,y> = ProjectiveSpace(R,1)
sage: H = Hom(P,P)
sage: f = H([x^2 - y^2,y^2])
sage: P(t,4).orbit_structure(f)
[11, 6]
"""
Expand Down

0 comments on commit c92eb76

Please sign in to comment.