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

Commit

Permalink
some improvments in the module description of the asymptotic ring
Browse files Browse the repository at this point in the history
  • Loading branch information
dkrenn committed Aug 25, 2015
1 parent a382656 commit c549344
Showing 1 changed file with 22 additions and 8 deletions.
30 changes: 22 additions & 8 deletions src/sage/rings/asymptotic/asymptotic_ring.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
r"""
Asymptotic Ring
This module implements a ring (called :class:`AsymptoticRing`) for
computations with :class:`asymptotic expressions
<AsymptoticExpression>`.
This module provides a ring (called :class:`AsymptoticRing`) for
computations with asymptotic expressions.
Definition
==========
Expand All @@ -15,7 +14,7 @@
- `O`-terms `O(g)` (see :wikipedia:`Big O notation <Big_O_notation>`;
also called *Bachmann--Landau notation*) for some :mod:`growth group
element <sage.groups.asymptotic_growth_group>` `g` (:ref:`see below
element <sage.rings.asymptotic.growth_group>` `g` (:ref:`see below
<asymptotic_ring_growth>`).
Examples of such elements can found :ref:`below <asymptotic_ring_intro>`.
Expand All @@ -27,7 +26,7 @@
The elements of a :mod:`growth group
<sage.rings.asymptotic.growth_group>` are equipped with a partial
ordering and usually contains a variable. Examples are (among many
ordering and usually contain a variable. Examples are (among many
other possibilities)
- elements of the form `z^q` for some integer or rational `q` (growth
Expand Down Expand Up @@ -121,6 +120,9 @@
their elements) we can do a lot of different arithmetical
calculations.
The Ring Operations Plus and Times
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
We start our calculations in the ring
::
Expand Down Expand Up @@ -156,6 +158,9 @@
sage: (z + 2*z^2 + 3*z^3 + 4*z^4) * (O(z) + z^2)
4*z^6 + O(z^5)
Division
^^^^^^^^
The asymptotic expressions support division. For example, we get can
expand `1/(1-z)` to a geometric series::
Expand All @@ -180,6 +185,9 @@
is not invertible, since it includes `0`.
Multivariate Arithemtic
^^^^^^^^^^^^^^^^^^^^^^^
Now let us move on to arithmetic in the multivariate ring
::
Expand All @@ -195,6 +203,13 @@
write more examples
Selected Technical Details
==========================
Coercions and Functorial Constructions
--------------------------------------
AUTHORS:
- Benjamin Hackl (2015-06): initial version
Expand Down Expand Up @@ -444,10 +459,9 @@ def has_same_summands(self, other):
While for example ``O(x) == O(x)`` yields ``False``,
these expressions *do* have the same summands.
Also, this method uses the coercion model in order to
Moreover, this method uses the coercion model in order to
find a common parent for this asymptotic expression and
``other``. The method :meth:`_has_same_summands_` is
then used for the actual comparison.
``other``.
EXAMPLES::
Expand Down

0 comments on commit c549344

Please sign in to comment.