Frobby 0.9.5
|
#include <frobby.h>
Public Member Functions | |
Ideal (size_t variableCount) | |
Ideal (const Ideal &ideal) | |
~Ideal () | |
Ideal & | operator= (const Ideal &ideal) |
void | addExponent (const mpz_t exponent) |
Call addExponent once for each variable to add a term one exponent at a time. | |
void | addExponent (int exponent) |
void | addExponent (unsigned int exponent) |
Private Attributes | |
FrobbyImpl::FrobbyIdealHelper * | _data |
Friends | |
class | FrobbyImpl::FrobbyIdealHelper |
Ideal::Ideal | ( | size_t | variableCount | ) |
Definition at line 197 of file frobby.cpp.
Definition at line 201 of file frobby.cpp.
Ideal::~Ideal | ( | ) |
Definition at line 205 of file frobby.cpp.
Call addExponent once for each variable to add a term one exponent at a time.
This object keeps track of how many times you called addExponent to know which variable is to be raised to the passed-in exponent. Frobby does not alter the passed-in exponent and retains no reference to it. The exponent must be non-negative. It is allowed to mix the different overloads even within the same term.
If the number of variables is zero, then a call to addExponent adds the element 1 as a generator. In that case it makes no difference what the value of exponent is.
Definition at line 221 of file frobby.cpp.
Definition at line 236 of file frobby.cpp.
Definition at line 241 of file frobby.cpp.
Frobby::Ideal & Ideal::operator= | ( | const Ideal & | ideal | ) |
Definition at line 209 of file frobby.cpp.
|
private |