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.real.Real Class Reference
Inheritance diagram for nzmath.real.Real:
[legend]
Collaboration diagram for nzmath.real.Real:
[legend]

Public Member Functions

def __init__ (self, value)
 
def __add__ (self, other)
 
def __radd__ (self, other)
 
def __sub__ (self, other)
 
def __rsub__ (self, other)
 
def __mul__ (self, other)
 
def __rmul__ (self, other)
 
def __truediv__ (self, other)
 
def __rtruediv__ (self, other)
 
def __pow__ (self, other)
 
def __eq__ (self, other)
 
def __hash__ (self)
 
def getRing (self)
 
- Public Member Functions inherited from nzmath.ring.FieldElement
def __init__ (self)
 
def exact_division (self, other)
 
- Public Member Functions inherited from nzmath.ring.CommutativeRingElement
def mul_module_action (self, other)
 
- Public Member Functions inherited from nzmath.ring.RingElement
def __init__ (self, *args, **kwd)
 
def __ne__ (self, other)
 

Public Attributes

 data
 

Static Public Attributes

tuple convertable = (Float, int, long, rational.Rational)
 

Static Private Attributes

def __div__ = __truediv__
 
def __rdiv__ = __rtruediv__
 

Detailed Description

Real is a class of real.
This class is only for consistency for other Ring object.

Definition at line 20 of file real.py.

Constructor & Destructor Documentation

◆ __init__()

def nzmath.real.Real.__init__ (   self,
  value 
)
value will be wrapped in Float.

Definition at line 28 of file real.py.

Member Function Documentation

◆ __add__()

◆ __eq__()

def nzmath.real.Real.__eq__ (   self,
  other 
)

◆ __hash__()

def nzmath.real.Real.__hash__ (   self)

◆ __mul__()

◆ __pow__()

def nzmath.real.Real.__pow__ (   self,
  other 
)

◆ __radd__()

◆ __rmul__()

◆ __rsub__()

◆ __rtruediv__()

◆ __sub__()

◆ __truediv__()

◆ getRing()

Member Data Documentation

◆ __div__

def nzmath.real.Real.__div__ = __truediv__
staticprivate

Definition at line 95 of file real.py.

◆ __rdiv__

def nzmath.real.Real.__rdiv__ = __rtruediv__
staticprivate

Definition at line 104 of file real.py.

◆ convertable

◆ data


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