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)

_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.

## ◆ __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.

## ◆ __contains__()

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

Definition at line 227 of file imaginary.py.

## ◆ __eq__()

 def nzmath.imaginary.ComplexField.__eq__ ( self, other )
```Equality test.
```

Reimplemented from nzmath.ring.Ring.

Definition at line 235 of file imaginary.py.

## ◆ __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__()

 def nzmath.imaginary.ComplexField.__repr__ ( self )

Definition at line 224 of file imaginary.py.

## ◆ __str__()

 def nzmath.imaginary.ComplexField.__str__ ( self )

Definition at line 221 of file imaginary.py.

## ◆ _getOne()

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

Definition at line 247 of file imaginary.py.

## ◆ _getZero()

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

Definition at line 252 of file imaginary.py.

## ◆ 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.

## ◆ 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()

 def nzmath.imaginary.ComplexField.issubring ( self, other )
```Report whether another ring contains the ring as a subring.
```

Reimplemented from nzmath.ring.Ring.

Definition at line 257 of file imaginary.py.

## ◆ issuperring()

 def nzmath.imaginary.ComplexField.issuperring ( self, other )
```Report whether the ring is a superring of another ring.
```

Reimplemented from nzmath.ring.Ring.

Definition at line 264 of file imaginary.py.

## ◆ _one

 nzmath.imaginary.ComplexField._one
private

## ◆ _zero

 nzmath.imaginary.ComplexField._zero
private

## ◆ one

 nzmath.imaginary.ComplexField.one = property(_getOne, None, None, "multiplicative unit.")
static

## ◆ 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: