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

◆ new_term() [2/2]

res2term * res2_poly::new_term ( ring_elem c,
const int * m,
res2_pair * comp ) const

Definition at line 34 of file res-a0-poly.cpp.

36{
37 res2term *result = new_term();
38 result->coeff = c;
39 M->copy(m, result->monom);
40 result->comp = x;
41 return result;
42}
const Monoid * M
res2term * new_term() const
VALGRIND_MAKE_MEM_DEFINED & result(result)
volatile int x

References M, new_term(), result(), and x.