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

◆ clear()

void FreeAlgebra::clear ( Poly & f) const

Definition at line 114 of file FreeAlgebra.cpp.

115{
116 // TODO: need Polynomial type to allow us access, or have a clear function itself.
117 setZero(f);
118}
void setZero(Poly &f) const

References setZero().

Referenced by copy(), mult(), mult_by_coeff(), and NCGroebner::twoSidedReduction().