The ChainCon Software (Release 0.03)
|
A wrapper of coefficients as defined in this sofware package for what is required by CHomP. More...
#include <euclwrap.h>
Public Member Functions | |
tEuclWrap () | |
The default constructor of an undefined element. More... | |
tEuclWrap (const CoefT &element) | |
Constructor from a coefficient element. More... | |
const CoefT & | getCoef () const |
Extraction of the actual coefficient inside. More... | |
tEuclWrap< CoefT > & | operator= (int n) |
Assignment of an integer number. More... | |
int | delta (void) const |
Computes the delta function for the element. More... | |
tEuclWrap< CoefT > | normalized () const |
Returns a normalized number (does nothing here). More... | |
tEuclWrap< CoefT > | operator- () const |
The negation operator. More... | |
tEuclWrap< CoefT > & | operator+= (const tEuclWrap< CoefT > &n) |
The addition operator. More... | |
tEuclWrap< CoefT > & | operator*= (const tEuclWrap< CoefT > &n) |
The multiplication operator. More... | |
tEuclWrap< CoefT > | operator+ (const tEuclWrap< CoefT > &n) const |
The addition operator that returns the result separately. More... | |
tEuclWrap< CoefT > | operator* (const tEuclWrap< CoefT > &n) const |
The multiplication operator that returns the result separately. More... | |
tEuclWrap< CoefT > | operator/ (const tEuclWrap< CoefT > &n) const |
The division with remainder operator. More... | |
tEuclWrap< CoefT > | operator% (const tEuclWrap< CoefT > &n) const |
The remainder operator. More... | |
int | operator== (const tEuclWrap< CoefT > &n) const |
The equality operator. More... | |
Static Public Member Functions | |
static const char * | ringname () |
Returns the name of the ring (returns its symbol here). More... | |
static const char * | ringsymbol () |
Returns the symbol of the ring. More... | |
Private Attributes | |
CoefT | e |
An element of the coefficient type. More... | |
A wrapper of coefficients as defined in this sofware package for what is required by CHomP.
Definition at line 49 of file euclwrap.h.
The default constructor of an undefined element.
Definition at line 109 of file euclwrap.h.
Constructor from a coefficient element.
Definition at line 115 of file euclwrap.h.
|
inline |
Computes the delta function for the element.
Definition at line 134 of file euclwrap.h.
References tEuclWrap< CoefT >::e.
|
inline |
Extraction of the actual coefficient inside.
Definition at line 121 of file euclwrap.h.
References tEuclWrap< CoefT >::e.
Referenced by operator<<().
Returns a normalized number (does nothing here).
Definition at line 140 of file euclwrap.h.
|
inline |
The remainder operator.
Definition at line 198 of file euclwrap.h.
References divide(), and tEuclWrap< CoefT >::e.
|
inline |
The multiplication operator that returns the result separately.
Definition at line 180 of file euclwrap.h.
References tEuclWrap< CoefT >::e.
|
inline |
The multiplication operator.
Definition at line 163 of file euclwrap.h.
References tEuclWrap< CoefT >::e.
|
inline |
The addition operator that returns the result separately.
Definition at line 171 of file euclwrap.h.
References tEuclWrap< CoefT >::e.
|
inline |
The division with remainder operator.
Definition at line 189 of file euclwrap.h.
References divide(), and tEuclWrap< CoefT >::e.
Assignment of an integer number.
Definition at line 127 of file euclwrap.h.
References tEuclWrap< CoefT >::e.
|
inlinestatic |
Returns the name of the ring (returns its symbol here).
Definition at line 212 of file euclwrap.h.
|
inlinestatic |
Returns the symbol of the ring.
Definition at line 218 of file euclwrap.h.
|
private |
An element of the coefficient type.
Definition at line 102 of file euclwrap.h.
Referenced by tEuclWrap< CoefT >::delta(), tEuclWrap< CoefT >::getCoef(), tEuclWrap< CoefT >::operator%(), tEuclWrap< CoefT >::operator*(), tEuclWrap< CoefT >::operator*=(), tEuclWrap< CoefT >::operator+(), tEuclWrap< CoefT >::operator+=(), tEuclWrap< CoefT >::operator-(), tEuclWrap< CoefT >::operator/(), tEuclWrap< CoefT >::operator=(), and tEuclWrap< CoefT >::operator==().