The implementation of monomials is provided by the class
template<
class C,
class E>
struct monom<
C,E>
- Parameters
-
C | is the coefficient type. |
E | is the exponent type. |
The container E
should provide the following definitions:
typedef E::exponent_type;
typedef E::index_type
exponent_type E::operator[](index_type i);
void E::set_expt(index_type i, exponent_type d);
- Example:
Monomial m1(1.1),
m2(0, 3),
m3(2.2,2,5);
Monomial m=m2*m3,
- See:
- monomial.hpp