Ticket #11112: trac_11112-algebraic-closure-CDF.patch

File trac_11112-algebraic-closure-CDF.patch, 864 bytes (added by rbeezer, 10 years ago)
  • sage/rings/complex_double.pyx

    # HG changeset patch
    # User Rob Beezer <beezer@ups.edu>
    # Date 1301682664 25200
    # Node ID 1b01837f87611669a736d7c5730eda87779ef1ef
    # Parent  1063e292c87180a596bdaef543c95524ccc23097
    11112: algebraic closure of CDF
    
    diff -r 1063e292c871 -r 1b01837f8761 sage/rings/complex_double.pyx
    a b  
    474474        """
    475475        return 1
    476476
     477    def algebraic_closure(self):
     478        r"""
     479        Returns the algebraic closure of self, i.e., the complex double
     480        field.
     481
     482        EXAMPLES::
     483
     484            sage: CDF.algebraic_closure()
     485            Complex Double Field
     486        """
     487        return self
     488
    477489    def real_double_field(self):
    478490        """
    479491        The real double field, which you may view as a subfield of this