|
Macaulay2 Engine
|
Heap-allocated node of a tower polynomial: a dense degree-indexed coefficient array that recurses through levels. More...
#include <dpoly.hpp>
Public Attributes | |
| int | deg |
| int | len |
| union { | |
| long * ints | |
| TowerPolynomial * polys | |
| } | arr |
Additional Inherited Members | |
| Static Public Member Functions inherited from our_new_delete | |
| static void * | operator new (size_t size) |
| static void * | operator new[] (size_t size) |
| static void | operator delete (void *obj) |
| static void | operator delete[] (void *obj) |
| static void * | operator new (size_t size, void *existing_memory) |
| static void * | operator new[] (size_t size, void *existing_memory) |
| static void | operator delete (void *obj, void *existing_memory) |
| static void | operator delete[] (void *obj, void *existing_memory) |
Heap-allocated node of a tower polynomial: a dense degree-indexed coefficient array that recurses through levels.
deg is the polynomial's degree in the current top variable and len is the allocated capacity. The arr union picks the coefficient kind by depth: at the bottom level the coefficients are integers mod p stored in arr.ints, and at higher levels each "coefficient" is itself a TowerPolynomial one level down, stored in arr.polys. Tower polynomials are accessed through DPoly / DRing, which always carry the current level so the right union arm is consulted.