![]() |
My Project
|
class to iterate through CanonicalForm's More...
#include <cf_iter.h>
Public Member Functions | |
| CFIterator () | |
| CFIterator (const CFIterator &) | |
| CFIterator (const CanonicalForm &) | |
| CFIterator (const CanonicalForm &, const Variable &) | |
| ~CFIterator () | |
| CFIterator & | operator= (const CFIterator &) |
| CFIterator & | operator= (const CanonicalForm &) |
| CF_NO_INLINE CFIterator & | operator++ () |
| CF_NO_INLINE CFIterator & | operator++ (int) |
| CF_NO_INLINE int | hasTerms () const |
| check if iterator has reached the end of CanonicalForm More... | |
| CF_NO_INLINE CanonicalForm | coeff () const |
| get the current coefficient More... | |
| CF_NO_INLINE int | exp () const |
| get the current exponent More... | |
Private Attributes | |
| CanonicalForm | data |
| termList | cursor |
| bool | ispoly |
| bool | hasterms |
class to iterate through CanonicalForm's
| CFIterator::CFIterator | ( | ) |
Definition at line 15 of file cf_iter.cc.
| CFIterator::CFIterator | ( | const CFIterator & | i | ) |
| CFIterator::CFIterator | ( | const CanonicalForm & | f | ) |
Definition at line 29 of file cf_iter.cc.
| CFIterator::CFIterator | ( | const CanonicalForm & | f, |
| const Variable & | v | ||
| ) |
Definition at line 44 of file cf_iter.cc.
| CFIterator::~CFIterator | ( | ) |
Definition at line 83 of file cf_iter.cc.
| CF_NO_INLINE CanonicalForm CFIterator::coeff | ( | ) | const |
get the current coefficient
| CF_NO_INLINE int CFIterator::exp | ( | ) | const |
get the current exponent
| CF_NO_INLINE int CFIterator::hasTerms | ( | ) | const |
check if iterator has reached the end of CanonicalForm
| CF_NO_INLINE CFIterator & CFIterator::operator++ | ( | ) |
| CF_NO_INLINE CFIterator & CFIterator::operator++ | ( | int | ) |
| CFIterator & CFIterator::operator= | ( | const CanonicalForm & | f | ) |
Definition at line 102 of file cf_iter.cc.
| CFIterator & CFIterator::operator= | ( | const CFIterator & | i | ) |
|
private |