3#ifndef _ntuple_monomial_hpp_
4#define _ntuple_monomial_hpp_
53 for (i = 0, j = 0; i < nvars; i++, j++)
56 if (a[i] > 0)
result |= (1 << j);
Dense exponent-vector template [e_0, ..., e_{nvars-1}] for monomial operations.
std::make_unsigned< Exponent >::type HashExponent
const Exponent * ConstExponents
static HashExponent mask(int nvars, ConstExponents a)
VALGRIND_MAKE_MEM_DEFINED & result(result)
ntuple_monomials::Exponent ntuple_word
ExponentVector< int64_t, false > ntuple_monomials
ntuple_word * ntuple_monomial
const ntuple_word * const_ntuple_monomial