NZMATH  1.2.0
About: NZMATH is a Python based number theory oriented calculation system.
  Fossies Dox: NZMATH-1.2.0.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

nzmath.ring.Field Class Reference
Inheritance diagram for nzmath.ring.Field:
[legend]
Collaboration diagram for nzmath.ring.Field:
[legend]

Public Member Functions

def __init__ (self)
 
def createElement (self, *args)
 
def isfield (self)
 
def gcd (self, a, b)
 
def getQuotientField (self)
 
- Public Member Functions inherited from nzmath.ring.CommutativeRing
def isdomain (self)
 
def isnoetherian (self)
 
def isufd (self)
 
def ispid (self)
 
def iseuclidean (self)
 
def registerModuleAction (self, action_ring, action)
 
def hasaction (self, action_ring)
 
def getaction (self, action_ring)
 
- Public Member Functions inherited from nzmath.ring.Ring
def createElement (self, seed)
 
def getCharacteristic (self)
 
def issubring (self, other)
 
def issuperring (self, other)
 
def getCommonSuperring (self, other)
 
def __eq__ (self, other)
 
def __hash__ (self)
 
def __ne__ (self, other)
 

Additional Inherited Members

- Public Attributes inherited from nzmath.ring.CommutativeRing
 properties
 

Detailed Description

Field is an abstract class which expresses that
the derived classes are (in mathematical meaning) fields.

Definition at line 190 of file ring.py.

Constructor & Destructor Documentation

◆ __init__()

def nzmath.ring.Field.__init__ (   self)
Set field flag True of 'properties' attribute.

Reimplemented from nzmath.ring.CommutativeRing.

Reimplemented in nzmath.rational.RationalField, nzmath.imaginary.ComplexField, and nzmath.real.RealField.

Definition at line 196 of file ring.py.

References nzmath.ring.CommutativeRing.properties.

Member Function Documentation

◆ createElement()

def nzmath.ring.Field.createElement (   self,
args 
)
createElement returns an element of the field.

Reimplemented in nzmath.algfield.NumberField.

Definition at line 206 of file ring.py.

◆ gcd()

◆ getQuotientField()

def nzmath.ring.Field.getQuotientField (   self)
getQuotientField returns the quotient field of the field.
It is, of course, itself.

Reimplemented from nzmath.ring.CommutativeRing.

Reimplemented in nzmath.rational.RationalField, and nzmath.poly.ring.RationalFunctionField.

Definition at line 226 of file ring.py.

◆ isfield()

def nzmath.ring.Field.isfield (   self)
Field overrides isfield of CommutativeRing.

Reimplemented from nzmath.ring.CommutativeRing.

Definition at line 212 of file ring.py.


The documentation for this class was generated from the following file: