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

Module complex_interval_field

source code


Field of Arbitrary Precision Complex Intervals

AUTHOR:
  William Stein wrote complex_field.py.
    -- William Stein (2006-01-26): complete rewrite
  Then complex_field.py was copied to complex_interval_field.py and
  heavily modified:
    -- Carl Witty (2007-10-24): rewrite for intervals



Classes [hide private]
  ComplexIntervalField_class
The field of complex numbers.
Functions [hide private]
 
late_import() source code
 
is_ComplexIntervalField(x) source code
 
ComplexIntervalField(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]
  cache = {53: <weakref at 0x180d628; to 'ComplexIntervalField_c...
Function Details [hide private]

ComplexIntervalField(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: ComplexIntervalField()
    Complex Interval Field with 53 bits of precision
    sage: ComplexIntervalField(100)
    Complex Interval Field with 100 bits of precision
    sage: ComplexIntervalField(100).base_ring()
    Real Interval Field with 100 bits of precision
    sage: i = ComplexIntervalField(200).gen()
    sage: i^2
    [-1.0000000000000000000000000000000000000000000000000000000000000 .. -1.0000000000000000000000000000000000000000000000000000000000000]


Variables Details [hide private]

cache

Value:
{}