Package sage :: Package rings :: Module interval :: Class Interval
[show private | hide private]
[frames | no frames]

Type Interval

object --+    
         |    
   Element --+
             |
            Interval


Method Summary
  __init__(self, min, max)
  __add__(self, other)
  __cmp__(self, other)
  __contains__(self, x)
  __div__(self, other)
  __int__(self)
If there is a unique integer in the interval, return it.
  __invert__(self)
  __mul__(self, other)
  __neg__(self)
  __repr__(self)
  __sub__(self, other)
  is_int(self)
  length(self)
  lower(self)
  max(self)
  min(self)
  sqrt(self)
  upper(self)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __reduce_ex__(...)
helper for pickle
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Method Details

__int__(self)

If there is a unique integer in the interval, return it. Otherwise raise a ValueError exception.

Generated by Epydoc 2.1 on Fri Jun 24 17:58:45 2005 http://epydoc.sf.net