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

◆ remainder()

void DPoly::remainder ( int level,
TowerPolynomial & f,
const TowerPolynomial g )

Definition at line 1089 of file dpoly.cpp.

1090{
1091 if (g == nullptr) return;
1092 TowerPolynomial quot = nullptr;
1093 division_in_place(level, f, g, quot);
1094 dealloc_poly(quot);
1095}
static void dealloc_poly(TowerPolynomial &f)
Definition dpoly.cpp:292
bool division_in_place(int level, TowerPolynomial &f, const TowerPolynomial g, TowerPolynomial &result_quot)
Definition dpoly.cpp:1015

References dealloc_poly(), and division_in_place().

Referenced by gcd(), mult_0(), mult_n(), and power_mod().