CoCoALib-0.9905 date: 23 May 2007


CoCoA::DistrMPoly::summand Struct Reference

summand of a DistrMPoly More...

Collaboration diagram for CoCoA::DistrMPoly::summand:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 summand (const ring &R, const PPMonoid &M)
 ~summand ()

Static Public Member Functions

static void operator delete (void *DeadObject, std::size_t sz)
static void * operator new (std::size_t sz)

Public Attributes

summandmyNext
 pointer to next summand
RingElem myCoeff
 coefficient of the summand (should be non-zero)
PPMonoidElem myPP
 power-product of the summand

Static Public Attributes

static MemPool ourMemMgr
 memory mgr for summands of any RingDistrMPoly

Private Member Functions

 summand ()
 NEVER DEFINED: prohibited.
 summand (const summand &)
 NEVER DEFINED: prohibited.
summandoperator= (const summand &)
 NEVER DEFINED: prohibited.

Detailed Description

summand of a DistrMPoly

Very similar to the DistrMPolyInlPP summand, but the coefficient and the power-product are stored "cleanly" as a RingElem and a PPMonoidElem. Being the size of these fileds fixed, we may use a static member "ourMemMgr" for summands of any RingDistrMPoly.

\*-----------------------------------------------------------------

Definition at line 71 of file DistrMPoly.H.


Constructor & Destructor Documentation

CoCoA::DistrMPoly::summand::summand const ring R,
const PPMonoid M
[inline]
 

Definition at line 250 of file DistrMPoly.H.

CoCoA::DistrMPoly::summand::~summand  )  [inline]
 

Definition at line 256 of file DistrMPoly.H.

CoCoA::DistrMPoly::summand::summand  )  [private]
 

NEVER DEFINED: prohibited.

CoCoA::DistrMPoly::summand::summand const summand  )  [private]
 

NEVER DEFINED: prohibited.


Member Function Documentation

void CoCoA::DistrMPoly::summand::operator delete void *  DeadObject,
std::size_t  sz
[inline, static]
 

Definition at line 237 of file DistrMPoly.H.

References CoCoA::MemPoolFast::free(), and ourMemMgr.

void * CoCoA::DistrMPoly::summand::operator new std::size_t  sz  )  [inline, static]
 

Definition at line 243 of file DistrMPoly.H.

References CoCoA::MemPoolFast::alloc(), CoCoA_ASSERT, and ourMemMgr.

summand& CoCoA::DistrMPoly::summand::operator= const summand  )  [private]
 

NEVER DEFINED: prohibited.


Member Data Documentation

summand* CoCoA::DistrMPoly::summand::myNext
 

pointer to next summand

Definition at line 83 of file DistrMPoly.H.

Referenced by CoCoA::DistrMPoly::iter::myForward().

RingElem CoCoA::DistrMPoly::summand::myCoeff
 

coefficient of the summand (should be non-zero)

Definition at line 84 of file DistrMPoly.H.

Referenced by CoCoA::DistrMPoly::iter::myCoeff().

PPMonoidElem CoCoA::DistrMPoly::summand::myPP
 

power-product of the summand

Definition at line 85 of file DistrMPoly.H.

Referenced by CoCoA::DistrMPoly::iter::myPP().

MemPool CoCoA::DistrMPoly::summand::ourMemMgr [static]
 

memory mgr for summands of any RingDistrMPoly

Definition at line 86 of file DistrMPoly.H.

Referenced by operator delete(), and operator new().


The documentation for this struct was generated from the following file:
Generated on Wed May 23 13:44:20 2007 for CoCoALib by  doxygen 1.4.6