Class Element
[show private | hide private]
[frames | no frames]

Type Element

object --+
         |
        Element

Known Subclasses:
ComplexNumber, FiniteFieldElement, IntegerMod, LaurentSeries, MPolynomial, NumberFieldElement, pAdic, Polynomial, RealNumber

Generic ring element base class, so all this functionality must be defined by any ring element.
Method Summary
  __init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
  __repr__(x)
x.__repr__() <==> repr(x)
  __rxor__(x, y)
x.__rxor__(y) <==> y^x
  __xor__(x, y)
x.__xor__(y) <==> x^y
  is_zero(...)
  order(...)
  parent(...)
    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

__init__(...)
(Constructor)

x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides:
__builtin__.object.__init__

__hash__(x)
(Hashing function)

x.__hash__() <==> hash(x)
Returns:
hash(x)
Overrides:
__builtin__.object.__hash__

__new__(T, S, ...)

T.__new__(S, ...) -> a new object with type S, a subtype of T
Returns:
a new object with type S, a subtype of T
Overrides:
__builtin__.object.__new__

__repr__(x)
(Representation operator)

x.__repr__() <==> repr(x)
Returns:
repr(x)
Overrides:
__builtin__.object.__repr__

__rxor__(x, y)

x.__rxor__(y) <==> y^x
Returns:
y^x

__xor__(x, y)

x.__xor__(y) <==> x^y
Returns:
x^y

Generated by Epydoc 2.1 on Sat Apr 16 23:13:39 2005 http://epydoc.sf.net