Esempio n. 1
0
        def __init__(self, x1, x2=None):
            r"""
            INPUT:

            - ``parent`` - the parent

            - ``x`` - the quotients of the continued fraction

            TESTS::

                sage: TestSuite(CFF.an_element()).run()
            """
            ContinuedFraction_periodic.__init__(self, x1)
            FieldElement.__init__(self, parent=CFF)
Esempio n. 2
0
        def __init__(self, x1, x2=None):
            r"""
            INPUT:

            - ``parent`` - the parent

            - ``x`` - the quotients of the continued fraction

            TESTS::

                sage: TestSuite(CFF.an_element()).run()
            """
            ContinuedFraction_periodic.__init__(self, x1)
            FieldElement.__init__(self, parent=CFF)
Esempio n. 3
0
        def __init__(self, x1, x2=None):
            r"""
            INPUT:

            - ``parent`` - the parent

            - ``x`` - the quotients of the continued fraction

            TESTS::

                sage: TestSuite(CFF.an_element()).run()
            """
            deprecation(20012, "CFF (ContinuedFractionField) is deprecated, use QQ instead")
            ContinuedFraction_periodic.__init__(self, x1)
            FieldElement.__init__(self, parent=CFF)