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;
84
result
->
coeffs
=
new
ARingZZpFFPACK::ElementType
[deg + 1];
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
}
M2::ARingZZpFFPACK::ElementType
FieldType::Element ElementType
Definition
aring-zzp-ffpack.hpp:75
M2::ARingPolynomial
struct ARingPolynomialStruct * ARingPolynomial
Definition
aring-tower.hpp:58
result
VALGRIND_MAKE_MEM_DEFINED & result(result)
M2::ARingPolynomialStruct::coeffs
ARingZZpFFPACK::ElementType * coeffs
Definition
aring-tower.hpp:82
References
result()
.
Referenced by
var()
.
M2
ARingTower
Generated on
for Macaulay2 Engine by
1.15.0