1#ifndef CLASSIC_FMonomial_HH
2#define CLASSIC_FMonomial_HH
84 if(var < N)
array[var] = 1;
125 return std::accumulate(
array + 0,
array + N, 0);
FMonomial(int var)
Constructor, defines variable var.
int getOrder() const
Compute the monomial's order.
int & operator[](int index)
Return reference to exponent.
int getVariables() const
Get the monomial's number of variables.
FMonomial operator*(const FMonomial &rhs) const
Get exponent set of a product.
const FMonomial & operator=(const FMonomial &)