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

◆ is_equal()

bool M2FreeAlgebraQuotient::is_equal ( const ring_elem f,
const ring_elem g ) const
virtual

Implements Ring.

Definition at line 174 of file M2FreeAlgebraQuotient.cpp.

175{
176 auto f = reinterpret_cast<const Poly*>(f1.get_Poly());
177 auto g = reinterpret_cast<const Poly*>(g1.get_Poly());
178 return freeAlgebraQuotient().is_equal(*f,*g);
179}
Polynomial< CoefficientRingType > Poly
bool is_equal(const Poly &f, const Poly &g) const
const FreeAlgebraQuotient & freeAlgebraQuotient() const

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