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

◆ alloc_poly_0()

ARingPolynomial M2::ARingTower::alloc_poly_0 ( int deg) const
private

Definition at line 81 of file aring-tower.cpp.

82{
83 ARingPolynomial result = new ARingPolynomialStruct;
85 result->deg = deg;
86 result->len = deg + 1;
87 for (int i = 0; i <= deg; i++) result->coeffs[i] = 0;
88 return result;
89}
FieldType::Element ElementType
struct ARingPolynomialStruct * ARingPolynomial
VALGRIND_MAKE_MEM_DEFINED & result(result)
ARingZZpFFPACK::ElementType * coeffs

References result().

Referenced by var().