41{
44 assert(P != 0);
49 for (
int i = 0; i < m->
n_cols(); i++)
50 {
52 if (v == nullptr) continue;
54 for (
Nterm& f : v->coeff)
55 {
58 temp = temp +
BRP(mono);
59 }
60 F[i] = temp;
61 }
63 return F;
64}
exponents::Exponents exponents_t
Boolean (F_2-coefficient) polynomial stored as an ordered list of square-free monomials.
const Ring * get_ring() const
ring_elem elem(int i, int j) const
void to_expvector(const_monomial m, exponents_t result_exp) const
Engine-side commutative monomial monoid: variable names, ordering, multidegree machinery,...
virtual const Monoid * getMonoid() const
Abstract base for the engine's polynomial-ring hierarchy.
virtual const PolynomialRing * cast_to_PolynomialRing() const
std::map< int, BRP > IntermediateBasis
brMonomial exponentsToLong(int nvars, const_exponents exp)
const mpreal exp(const mpreal &x, mp_rnd_t r=mpreal::get_default_rnd())
#define newarray_atomic(T, len)
Singly linked-list node carrying one term of a polynomial-ring element.