![]() |
My Project
|
CPolynomialSummator: unifies bucket and polynomial summation as the later is brocken in buckets :(. More...
#include <summator.h>
Public Member Functions | |
| CPolynomialSummator (const ring &rBaseRing, bool bUsePolynomial=false) | |
| ~CPolynomialSummator () | |
| void | AddAndDelete (poly pSummand, int iLength) |
| void | AddAndDelete (poly pSummand) |
| void | operator+= (poly pSummand) |
| void | Add (poly pSummand, int iLength) |
| void | Add (poly pSummand) |
| poly | AddUpAndClear () |
| poly | AddUpAndClear (int *piLength) |
| operator poly () | |
| CPolynomialSummator (const CPolynomialSummator &) | |
| Copy constructor. More... | |
Private Member Functions | |
| CPolynomialSummator & | operator= (const CPolynomialSummator &) |
| no assignment operator yet More... | |
Private Attributes | |
| const ring & | m_basering |
| const bool | m_bUsePolynomial |
| union { | |
| sBucket_pt | m_bucket |
| poly | m_poly |
| } | m_temp |
CPolynomialSummator: unifies bucket and polynomial summation as the later is brocken in buckets :(.
Definition at line 20 of file summator.h.
Definition at line 34 of file summator.cc.
| CPolynomialSummator::~CPolynomialSummator | ( | ) |
Definition at line 71 of file summator.cc.
| CPolynomialSummator::CPolynomialSummator | ( | const CPolynomialSummator & | b | ) |
Copy constructor.
Definition at line 185 of file summator.cc.
| void CPolynomialSummator::Add | ( | poly | pSummand | ) |
Definition at line 178 of file summator.cc.
| void CPolynomialSummator::Add | ( | poly | pSummand, |
| int | iLength | ||
| ) |
Definition at line 173 of file summator.cc.
| void CPolynomialSummator::AddAndDelete | ( | poly | pSummand | ) |
Definition at line 112 of file summator.cc.
| void CPolynomialSummator::AddAndDelete | ( | poly | pSummand, |
| int | iLength | ||
| ) |
Definition at line 100 of file summator.cc.
| poly CPolynomialSummator::AddUpAndClear | ( | ) |
Definition at line 124 of file summator.cc.
| poly CPolynomialSummator::AddUpAndClear | ( | int * | piLength | ) |
Definition at line 147 of file summator.cc.
|
inline |
Definition at line 51 of file summator.h.
|
inline |
Definition at line 40 of file summator.h.
|
private |
no assignment operator yet
|
private |
Definition at line 23 of file summator.h.
|
private |
Definition at line 24 of file summator.h.
| union { ... } CPolynomialSummator::m_temp |