Macaulay2 Engine
Loading...
Searching...
No Matches
Nterm Struct Reference

Singly linked-list node carrying one term of a polynomial-ring element. More...

#include <ringelem.hpp>

Public Attributes

Ntermnext
ring_elem coeff
int monom [1]

Detailed Description

Singly linked-list node carrying one term of a polynomial-ring element.

Note
AI-generated documentation. Verify against the source before relying on it.

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.


The documentation for this struct was generated from the following file: