#include <polynomial.H>
Public Member Functions | |
TTempPolynom (const int n) | |
TTempPolynom (const int n, const int estimated_operand_size) | |
~TTempPolynom () | |
int | capacity () const |
operator TPolynom () const | |
Private Attributes | |
mpz_t *const | data |
const int | _capacity |
self initializing and self destructing. This class is here to circumvent automatic arrays (on stack) that are a gnu extension, but not allowed according to ISO standard.
Definition at line 75 of file polynomial.H.
polynomial::TTempPolynom::TTempPolynom | ( | const int | n | ) | [inline, explicit] |
Definition at line 81 of file polynomial.H.
References data, and mpz_init().
polynomial::TTempPolynom::TTempPolynom | ( | const int | n, | |
const int | estimated_operand_size | |||
) | [inline] |
Definition at line 86 of file polynomial.H.
References data, and mpz_init2().
polynomial::TTempPolynom::~TTempPolynom | ( | ) | [inline] |
Definition at line 91 of file polynomial.H.
References _capacity, data, and mpz_clear().
int polynomial::TTempPolynom::capacity | ( | ) | const [inline] |
polynomial::TTempPolynom::operator TPolynom | ( | ) | const [inline] |
mpz_t* const polynomial::TTempPolynom::data [private] |
Definition at line 78 of file polynomial.H.
Referenced by operator TPolynom(), TTempPolynom(), and ~TTempPolynom().
const int polynomial::TTempPolynom::_capacity [private] |