Exemple #1
0
 def __init__(self):
     """
     TESTS::
     
         sage: sage.rings.infinity.UnsignedInfinity() is sage.rings.infinity.UnsignedInfinity() is unsigned_infinity
         True
     """
     InfinityElement.__init__(self, UnsignedInfinityRing)
Exemple #2
0
 def __init__(self):
     """
     TESTS::
     
         sage: sage.rings.infinity.PlusInfinity() is sage.rings.infinity.PlusInfinity() is oo
         True
     """
     InfinityElement.__init__(self, InfinityRing)
Exemple #3
0
    def __init__(self):
        """
        TESTS::

            sage: sage.rings.infinity.UnsignedInfinity() is sage.rings.infinity.UnsignedInfinity() is unsigned_infinity
            True
        """
        InfinityElement.__init__(self, UnsignedInfinityRing)
Exemple #4
0
    def __init__(self):
        """
        TESTS::

            sage: sage.rings.infinity.PlusInfinity() is sage.rings.infinity.PlusInfinity() is oo
            True
        """
        InfinityElement.__init__(self, InfinityRing)
Exemple #5
0
    def __init__(self):
        """
        Initialize ``self``.

        TESTS::

            sage: sage.rings.infinity.MinusInfinity() is sage.rings.infinity.MinusInfinity() is -oo
            True
        """
        InfinityElement.__init__(self, InfinityRing)
Exemple #6
0
    def __init__(self):
        """
        Initialize ``self``.

        TESTS::

            sage: sage.rings.infinity.MinusInfinity() is sage.rings.infinity.MinusInfinity() is -oo
            True
        """
        InfinityElement.__init__(self, InfinityRing)