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

Commit

Permalink
Minor changes in comments/documentation for multiplier function
Browse files Browse the repository at this point in the history
  • Loading branch information
Grayson Jorgenson committed Oct 16, 2014
1 parent e7a9d14 commit e83be23
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/sage/schemes/affine/affine_morphism.py
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,7 @@ def jacobian (self):
def multiplier(self, P, n, check=True):
r"""
Returns the multiplier of ``self`` at the point ``P`` of period ``n``.
``self`` must be an endomorphism of affine space.
``self`` must be an endomorphism.
INPUT:
Expand Down Expand Up @@ -809,7 +809,7 @@ def multiplier(self, P, n, check=True):
[0 2]
"""
if not self.is_endomorphism():
raise TypeError("Must be an endomorphism of affine space")
raise TypeError("Must be an endomorphism")
if check:
if self.nth_iterate(P, n) != P:
raise ValueError("%s is not periodic of period %s" % (P, n))
Expand All @@ -821,7 +821,7 @@ def multiplier(self, P, n, check=True):
J = self.jacobian()
for i in range(0, n):
R = self(Q)
l = J(tuple(Q))*l #get the correct order for chain rule matrix multiplication
l = J(tuple(Q))*l #chain rule matrix multiplication
Q = R
return l

Expand Down
4 changes: 2 additions & 2 deletions src/sage/schemes/projective/projective_morphism.py
Original file line number Diff line number Diff line change
Expand Up @@ -1700,7 +1700,7 @@ def height_difference_bound(self, prec=None):
def multiplier(self, P, n, check=True):
r"""
Returns the multiplier of ``self`` point ``P`` of period ``n``.
``self`` must be an endomorphism of projective space.
``self`` must be an endomorphism.
INPUT:
Expand Down Expand Up @@ -1769,7 +1769,7 @@ def multiplier(self, P, n, check=True):
ValueError: (0 : 1) is not periodic of period 1
"""
if not self.is_endomorphism():
raise TypeError("Must be an endomorphism of projective space")
raise TypeError("Must be an endomorphism")
if check:
if self.nth_iterate(P, n) != P:
raise ValueError("%s is not periodic of period %s" % (P, n))
Expand Down

0 comments on commit e83be23

Please sign in to comment.