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

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

            sage: sage.rings.infinity.PlusInfinity() is sage.rings.infinity.PlusInfinity() is oo
            True
        """
        InfinityElement.__init__(self, InfinityRing)
Esempio n. 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)
Esempio n. 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)