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.imaginary.ComplexField Class Reference
Inheritance diagram for nzmath.imaginary.ComplexField:
Collaboration diagram for nzmath.imaginary.ComplexField:

Public Member Functions

def __init__ (self)
def __str__ (self)
def __repr__ (self)
def __contains__ (self, element)
def __eq__ (self, other)
def __ne__ (self, other)
def __hash__ (self)
def createElement (self, seed)
def issubring (self, aRing)
def issuperring (self, aRing)
def getCharacteristic (self)
- Public Member Functions inherited from nzmath.ring.Field
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 getCommonSuperring (self, other)


 one = property(_getOne, None, None, "multiplicative unit.")
 zero = property(_getZero, None, None, "additive unit.")

Private Member Functions

def _getOne (self)
def _getZero (self)

Private Attributes


Additional Inherited Members

- Public Attributes inherited from nzmath.ring.CommutativeRing

Detailed Description

ComplexField is a class of the field of real numbers.
The class has the single instance 'theComplexField'.

Definition at line 210 of file

Constructor & Destructor Documentation

◆ __init__()

def nzmath.imaginary.ComplexField.__init__ (   self)
Set field flag True of 'properties' attribute.

Reimplemented from nzmath.ring.Field.

Definition at line 216 of file

Member Function Documentation

◆ __contains__()

def nzmath.imaginary.ComplexField.__contains__ (   self,

Definition at line 227 of file

◆ __eq__()

◆ __hash__()

def nzmath.imaginary.ComplexField.__hash__ (   self)

Reimplemented from nzmath.ring.Ring.

Definition at line 241 of file

◆ __ne__()

def nzmath.imaginary.ComplexField.__ne__ (   self,
Inequality test.

Reimplemented from nzmath.ring.Ring.

Definition at line 238 of file

◆ __repr__()

◆ __str__()

def nzmath.imaginary.ComplexField.__str__ (   self)

Definition at line 221 of file

◆ _getOne()

def nzmath.imaginary.ComplexField._getOne (   self)

◆ _getZero()

def nzmath.imaginary.ComplexField._getZero (   self)

◆ createElement()

def nzmath.imaginary.ComplexField.createElement (   self,
createElement returns an element of the ring with seed.

Reimplemented from nzmath.ring.Ring.

Definition at line 244 of file

Referenced by nzmath.finitefield.FiniteField.random_element(), and nzmath.finitefield.FiniteField.TonelliShanks().

◆ getCharacteristic()

def nzmath.imaginary.ComplexField.getCharacteristic (   self)
The characteristic of the real field is zero.

Reimplemented from nzmath.ring.Ring.

Definition at line 271 of file

◆ issubring()

◆ issuperring()

Member Data Documentation

◆ _one

◆ _zero

Property Documentation

◆ one

◆ zero = property(_getZero, None, None, "additive unit.")

Definition at line 255 of file

Referenced by nzmath.ring.Field.gcd(), and nzmath.matrix.MatrixRing.zeroMatrix().

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