![]() |
My Project
debian-1:4.1.1-p2+ds-4build1
|
class to iterate through CanonicalForm's More...
#include <cf_iter.h>
Private Attributes | |
CanonicalForm | data |
termList | cursor |
bool | ispoly |
bool | hasterms |
class to iterate through CanonicalForm's
CFIterator::CFIterator | ( | ) |
CFIterator::CFIterator | ( | const CFIterator & | i | ) |
CFIterator::CFIterator | ( | const CanonicalForm & | f | ) |
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.
CFIterator::CFIterator | ( | ) |
CFIterator::CFIterator | ( | const CFIterator & | ) |
CFIterator::CFIterator | ( | const CanonicalForm & | ) |
CFIterator::CFIterator | ( | const CanonicalForm & | , |
const Variable & | |||
) |
CFIterator::~CFIterator | ( | ) |
CFIterator::CFIterator | ( | ) |
CFIterator::CFIterator | ( | const CFIterator & | ) |
CFIterator::CFIterator | ( | const CanonicalForm & | ) |
CFIterator::CFIterator | ( | const CanonicalForm & | , |
const Variable & | |||
) |
CFIterator::~CFIterator | ( | ) |
CF_INLINE CanonicalForm CFIterator::coeff | ( | ) | const |
get the current coefficient
CF_INLINE CanonicalForm CFIterator::coeff () const.
coeff() - return coefficient of current term of CO.
CO has to point to a valid term.
Definition at line 88 of file cf_iter_inline.cc.
CF_NO_INLINE CanonicalForm CFIterator::coeff | ( | ) | const |
get the current coefficient
CF_NO_INLINE CanonicalForm CFIterator::coeff | ( | ) | const |
get the current coefficient
CF_INLINE int CFIterator::exp | ( | ) | const |
get the current exponent
CF_INLINE int CFIterator::exp () const.
exp() - return exponent of current term of CO.
CO has to point to a valid term.
Definition at line 105 of file cf_iter_inline.cc.
CF_NO_INLINE int CFIterator::exp | ( | ) | const |
get the current exponent
CF_NO_INLINE int CFIterator::exp | ( | ) | const |
get the current exponent
CF_INLINE int CFIterator::hasTerms | ( | ) | const |
check if iterator has reached the end of CanonicalForm
CF_INLINE int CFIterator::hasTerms () const.
hasTerm() - check whether CO points to a valid term.
Return true if CO points to a valid term, false if CO points to the end of the sequence of terms.
Definition at line 75 of file cf_iter_inline.cc.
CF_NO_INLINE int CFIterator::hasTerms | ( | ) | const |
check if iterator has reached the end of CanonicalForm
CF_NO_INLINE int CFIterator::hasTerms | ( | ) | const |
check if iterator has reached the end of CanonicalForm
CF_INLINE CFIterator & CFIterator::operator++ | ( | ) |
CFIterator::operator ++ (), operator ++ ( int )
operator ++() - advance CO to next term.
Advance current term to next term in the sequence of terms or to end of sequence. CO has to point to a valid term.
The postfix and prefix operator are identical.
Definition at line 126 of file cf_iter_inline.cc.
CF_NO_INLINE CFIterator& CFIterator::operator++ | ( | ) |
CF_NO_INLINE CFIterator& CFIterator::operator++ | ( | ) |
CF_INLINE CFIterator & CFIterator::operator++ | ( | int | ) |
CF_NO_INLINE CFIterator& CFIterator::operator++ | ( | int | ) |
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 CanonicalForm & | ) |
CFIterator& CFIterator::operator= | ( | const CanonicalForm & | ) |
CFIterator & CFIterator::operator= | ( | const CFIterator & | i | ) |
CFIterator& CFIterator::operator= | ( | const CFIterator & | ) |
CFIterator& CFIterator::operator= | ( | const CFIterator & | ) |
|
private |