Macaulay2 Engine
Loading...
Searching...
No Matches

◆ lead_logical_exponents()

void PolyRing::lead_logical_exponents ( int nvars0,
const ring_elem f,
exponents_t result_exp ) const
virtual

Definition at line 1746 of file poly.cpp.

1749{
1750 Nterm *g = f;
1751 assert(g != NULL);
1753 M_->to_expvector(g->monom, exp);
1754 exponents::copy(nvars0, exp, result_exp);
1755}
exponents::Exponents exponents_t
static void copy(int nvars, ConstExponents a, Exponents result)
const Monoid * M_
Definition polyring.hpp:124
int n_vars() const
Definition polyring.hpp:196
const mpreal exp(const mpreal &x, mp_rnd_t r=mpreal::get_default_rnd())
Definition mpreal.h:2298
#define newarray_atomic(T, len)
Definition newdelete.hpp:91
int monom[1]
Definition ringelem.hpp:160

References ExponentVector< int, true >::copy(), PolynomialRing::M_, Nterm::monom, PolynomialRing::n_vars(), and newarray_atomic.

Referenced by lift().