3.4.1.16 RingElement Objects

class RingElement
Instances of class RingElement have the following methods (in addition to inherited methods and special methods):

additive_order,$  $ is_nonzero,$  $ is_unit,$  $ is_zero,$  $ multiplicative_order,$  $ order

Further documentation:

additive_order( )

Return the additive order of self.

multiplicative_order( )

Return the multiplicative order of self, if self is a unit, or raise ArithmeticError otherwise.

order( )

Return the additive order of self.

Instances of class RingElement also have the following special methods:

__add__,$  $ __div__,$  $ __invert__,$  $ __mul__,$  $ __neg__,$  $ __pos__,$  $ __pow__,$  $ __radd__,$  $ __rdiv__,$  $ __rmul__,$  $ __rpow__,$  $ __rsub__,$  $ __sub__,$  $ _add,$  $ _div,$  $ _mul,$  $ _sub

See About this document... for information on suggesting changes.