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

Commit

Permalink
Merge branch 'asy/growthGroup' into asy/growthGroup-factory
Browse files Browse the repository at this point in the history
  • Loading branch information
behackl committed Aug 20, 2015
2 parents f20c42e + 1c81c12 commit 032d8b8
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions src/sage/rings/asymptotic/growth_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This module adds support for (asymptotic) growth groups. Such groups
are equipped with a partial order: the elements can be seen as
functions and their behavior as the argument(s) get large (tend to
functions, and their behavior as the argument(s) get large (tend to
`\infty`) is compared.
Besides an abstract base class :class:`GenericGrowthGroup`, this module
Expand Down Expand Up @@ -102,7 +102,7 @@ def repr_short_to_parent(s):

def parent_to_repr_short(P):
r"""
Helper method, which generates a short(er) representation string
Helper method which generates a short(er) representation string
out of a parent.
INPUT:
Expand Down Expand Up @@ -142,7 +142,7 @@ class GenericGrowthElement(sage.structure.element.MultiplicativeGroupElement):
r"""
An abstract implementation of a generic growth element.
Growth elements form a group by multiplication and (some of) the
Growth elements form a group by multiplication, and (some of) the
elements can be compared to each other, i.e., all elements form a
poset.
Expand Down Expand Up @@ -289,8 +289,8 @@ def _div_(self, other):
.. NOTE::
This method is called by the coercion framework, thus, it can be
assumed that this element, as well as ``other`` are of the same
type. The output will have this type.
assumed that this element is of the same type as ``other``.
The output will be of the same type as well.
EXAMPLES::
Expand All @@ -307,17 +307,17 @@ def _div_(self, other):

def __pow__(self, power):
r"""
Takes this growth element to the given ``power``.
Raises this growth element to the given ``power``.
INPUT:
- ``power`` -- a number. This can anything that is valid to be
on the right hand side of ``*`` with an elements of the
- ``power`` -- a number. This can be anything that is a
valid right hand side of ``*`` with elements of the
parent's base.
OUTPUT:
The result of this exponentiation a :class:`MonomialGrowthElement`.
The result of this exponentiation.
EXAMPLES::
Expand Down Expand Up @@ -741,7 +741,7 @@ def one(self):

def _element_constructor_(self, data, raw_element=None):
r"""
Converts given object to this growth group.
Converts a given object to this growth group.
INPUT:
Expand Down Expand Up @@ -833,7 +833,7 @@ def _element_constructor_(self, data, raw_element=None):

def _convert_(self, data):
r"""
Converts given ``data`` to something the constructor of the
Converts ``data`` to something the constructor of the
element class accepts (``raw_element``).
INPUT:
Expand All @@ -848,7 +848,7 @@ def _convert_(self, data):
.. NOTE::
This method always returns ``None`` in this abstract base
class and should be overridden in inherited class.
class, and should be overridden in inherited class.
TESTS::
Expand Down Expand Up @@ -1075,17 +1075,17 @@ def __invert__(self):

def __pow__(self, power):
r"""
Takes this growth element to the given ``power``.
Raises this growth element to the given ``power``.
INPUT:
- ``power`` -- a number. This can anything that is valid to be
on the right hand side of ``*`` with an elements of the
- ``power`` -- a number. This can be anything that is a
valid right hand side of ``*`` with elements of the
parent's base.
OUTPUT:
The result of this exponentiation a :class:`MonomialGrowthElement`.
The result of this exponentiation, a :class:`MonomialGrowthElement`.
EXAMPLES::
Expand Down Expand Up @@ -1311,7 +1311,7 @@ def __hash__(self):

def _convert_(self, data):
r"""
Converts given ``data`` to something the constructor of the
Converts ``data`` to something the constructor of the
element class accepts (``raw_element``).
INPUT:
Expand Down

0 comments on commit 032d8b8

Please sign in to comment.