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

◆ is_equal()

template<class RingType>
virtual bool M2::ConcreteRing< RingType >::is_equal ( const ring_elem f,
const ring_elem g ) const
inlinevirtual

Implements Ring.

Definition at line 285 of file aring-glue.hpp.

286 {
287 if (displayArithmeticCalls) fprintf(stderr, "calling is_equal\n");
288 const ElementType &a = R->from_ring_elem_const(f);
289 const ElementType &b = R->from_ring_elem_const(g);
290 bool ret = R->is_equal(a, b);
291 return ret;
292 }
RingType::ElementType ElementType
std::unique_ptr< RingType > R

Referenced by TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), and TEST().