Package sage :: Package rings :: Module complex_field
[hide private]
[frames] | no frames]

Module complex_field

source code


Field of Arbitrary Precision Complex Numbers

AUTHOR:
    -- William Stein (2006-01-26): complete rewrite



Classes [hide private]
  ComplexField_class
An approximation to the field of complex numbers using floating point numbers with any specified precision.
Functions [hide private]
 
late_import() source code
 
is_ComplexField(x) source code
 
ComplexField(prec=53, names=['4ti2-20061025', 'R-2.6.0', 'atlas-3.7.37', 'atlas-3.8.1', 'a...)
Return the complex field with real and imaginary parts having prec *bits* of precision.
source code
Variables [hide private]
  NumberFieldElement_quadratic = ['4ti2-20061025', 'R-2.6.0', 'a...
  AlgebraicNumber_base = ['4ti2-20061025', 'R-2.6.0', 'atlas-3.7...
  AlgebraicNumber = ['4ti2-20061025', 'R-2.6.0', 'atlas-3.7.37',...
  AlgebraicReal = ['4ti2-20061025', 'R-2.6.0', 'atlas-3.7.37', '...
  cache = {53: <weakref at 0x1369368; to 'ComplexField_class' at...
Function Details [hide private]

ComplexField(prec=53, names=['4ti2-20061025', 'R-2.6.0', 'atlas-3.7.37', 'atlas-3.8.1', 'a...)

source code 

Return the complex field with real and imaginary parts having prec
*bits* of precision.

EXAMPLES:
    sage: ComplexField()
    Complex Field with 53 bits of precision
    sage: ComplexField(100)
    Complex Field with 100 bits of precision
    sage: ComplexField(100).base_ring()
    Real Field with 100 bits of precision
    sage: i = ComplexField(200).gen()
    sage: i^2
    -1.0000000000000000000000000000000000000000000000000000000000


Variables Details [hide private]

NumberFieldElement_quadratic

Value:
['4ti2-20061025',
 'R-2.6.0',
 'atlas-3.7.37',
 'atlas-3.8.1',
 'atlas-3.8.1.p1',
 'atlas-3.8.1.p3',
 'atlas-3.8.p11',
 'atlas-3.8.p6',
...

AlgebraicNumber_base

Value:
['4ti2-20061025',
 'R-2.6.0',
 'atlas-3.7.37',
 'atlas-3.8.1',
 'atlas-3.8.1.p1',
 'atlas-3.8.1.p3',
 'atlas-3.8.p11',
 'atlas-3.8.p6',
...

AlgebraicNumber

Value:
['4ti2-20061025',
 'R-2.6.0',
 'atlas-3.7.37',
 'atlas-3.8.1',
 'atlas-3.8.1.p1',
 'atlas-3.8.1.p3',
 'atlas-3.8.p11',
 'atlas-3.8.p6',
...

AlgebraicReal

Value:
['4ti2-20061025',
 'R-2.6.0',
 'atlas-3.7.37',
 'atlas-3.8.1',
 'atlas-3.8.1.p1',
 'atlas-3.8.1.p3',
 'atlas-3.8.p11',
 'atlas-3.8.p6',
...

cache

Value:
{}