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:
[legend]
Collaboration diagram for nzmath.imaginary.ComplexField:
[legend]

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)
 

Properties

 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

 _one
 
 _zero
 

Additional Inherited Members

- Public Attributes inherited from nzmath.ring.CommutativeRing
 properties
 

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 imaginary.py.

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 imaginary.py.

Member Function Documentation

◆ __contains__()

def nzmath.imaginary.ComplexField.__contains__ (   self,
  element 
)

Definition at line 227 of file imaginary.py.

◆ __eq__()

◆ __hash__()

def nzmath.imaginary.ComplexField.__hash__ (   self)

Reimplemented from nzmath.ring.Ring.

Definition at line 241 of file imaginary.py.

◆ __ne__()

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

Reimplemented from nzmath.ring.Ring.

Definition at line 238 of file imaginary.py.

◆ __repr__()

◆ __str__()

def nzmath.imaginary.ComplexField.__str__ (   self)

Definition at line 221 of file imaginary.py.

◆ _getOne()

def nzmath.imaginary.ComplexField._getOne (   self)
private

◆ _getZero()

def nzmath.imaginary.ComplexField._getZero (   self)
private

◆ createElement()

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

Reimplemented from nzmath.ring.Ring.

Definition at line 244 of file imaginary.py.

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 imaginary.py.

◆ issubring()

◆ issuperring()

Member Data Documentation

◆ _one

◆ _zero

Property Documentation

◆ one

◆ zero

nzmath.imaginary.ComplexField.zero = property(_getZero, None, None, "additive unit.")
static

Definition at line 255 of file imaginary.py.

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


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