3 #include "../MultivariatePolynomial.h"
17 template<
typename Coeff>
26 template<
typename Coeff,
typename Ordering,
typename Policies>
28 return std::accumulate(p.
begin(), p.
end(),
static_cast<std::size_t
>(0),
29 [](std::size_t cur,
const auto& t){ return cur + bitsize(t); }
carl is the main namespace for the library.
std::size_t bitsize(const cln::cl_I &n)
Get the bit size of the representation of a integer.
The general-purpose multivariate polynomial class.
The general-purpose monomials.
Coefficient & coeff()
Get the coefficient.
Monomial::Arg & monomial()
Get the monomial.