NZMATH
1.2.0
About: NZMATH is a Python based number theory oriented calculation system.
![]() ![]() |
Classes | |
class | CommutativeRing |
class | CommutativeRingElement |
class | CommutativeRingProperties |
class | Field |
class | FieldElement |
class | Ideal |
class | QuotientField |
class | QuotientFieldElement |
class | ResidueClass |
class | ResidueClassRing |
class | Ring |
class | RingElement |
Functions | |
def | getRingInstance (obj) |
def | getRing (obj) |
def | inverse (obj) |
def | exact_division (self, other) |
base classes for rings.
def nzmath.ring.exact_division | ( | self, | |
other | |||
) |
Return the division of 'self' by 'obj' if the division is exact. Mainly for python built-in objects such as int or float.
Definition at line 852 of file ring.py.
References nzmath.ring.getRingInstance().
Referenced by nzmath.algfield.NumberField.POLRED(), nzmath.poly.uniutil.SubresultantGcdProvider.resultant(), and nzmath.poly.uniutil.SubresultantGcdProvider.subresultant_extgcd().
def nzmath.ring.getRing | ( | obj | ) |
Return a ring to which 'obj' belongs. Mainly for python built-in objects such as int or float.
Definition at line 809 of file ring.py.
Referenced by nzmath.group.GroupElement.getGroup(), and nzmath.ring.inverse().
def nzmath.ring.getRingInstance | ( | obj | ) |
Return a RingElement instance which eqauls 'obj'. Mainly for python built-in objects such as int or float.
Definition at line 790 of file ring.py.
Referenced by nzmath.ring.exact_division().
def nzmath.ring.inverse | ( | obj | ) |
Return the inverse of 'obj'. The inverse can be in the quotient field, if the 'obj' is an element of non-field domain. Mainly for python built-in objects such as int or float.
Definition at line 830 of file ring.py.
References nzmath.ring.getRing().