|
Macaulay2 Engine
|
Singly linked-list node carrying one term of a polynomial-ring element. More...
#include <ringelem.hpp>
Public Attributes | |
| Nterm * | next |
| ring_elem | coeff |
| int | monom [1] |
Singly linked-list node carrying one term of a polynomial-ring element.
next chains to the next term, coeff holds the term's coefficient (in the parent ring's ring_elem representation), and monom[1] is a C99-style flexible-array tail holding the monomial's encoded int payload — the actual length is determined by the ring's monoid. Polynomial values stored in a ring_elem via the poly_val union arm point at the head of a chain of these.
Definition at line 155 of file ringelem.hpp.