Frobby 0.9.5
|
Go to the source code of this file.
Functions | |
Exponent | median (const Exponent *a, size_t varCount) |
Returns the lower median exponent of a. | |
Exponent | medianPositive (const Exponent *a, size_t varCount) |
Returns the lower median of the positive exponents of a. | |
void | totalDegree (mpz_class &res, const Exponent *a, size_t varCount) |
Puts the sum of the entries of a into res. | |
Exponent | minimumPositive (const Exponent *a, size_t varCount) |
Returns the smallest positive exponent of a. | |
Exponent | maximum (const Exponent *a, size_t varCount) |
Returns the largest exponent of a. | |
Returns the largest exponent of a.
Returns zero if varCount is zero.
Definition at line 68 of file TermExtra.cpp.
Returns the lower median exponent of a.
Returns zero if varCount is zero.
Definition at line 25 of file TermExtra.cpp.
Returns the lower median of the positive exponents of a.
Returns zero if all terms of a are zero.
Definition at line 35 of file TermExtra.cpp.
Returns the smallest positive exponent of a.
Returns zero if all entries of a are zero.
Definition at line 55 of file TermExtra.cpp.