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

◆ n_terms()

long M2FreeAlgebraQuotient::n_terms ( const ring_elem f) const

Definition at line 163 of file M2FreeAlgebraQuotient.cpp.

164{
165 auto f = reinterpret_cast<const Poly*>(f1.get_Poly());
166 return freeAlgebraQuotient().n_terms(*f);
167}
Polynomial< CoefficientRingType > Poly
long n_terms(const Poly &f) const
const FreeAlgebraQuotient & freeAlgebraQuotient() const

References freeAlgebraQuotient(), ring_elem::get_Poly(), and FreeAlgebraQuotient::n_terms().

Referenced by is_zero().