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

◆ is_zero()

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

Implements Ring.

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

278 {
279 if (displayArithmeticCalls) fprintf(stderr, "calling is_zero\n");
280 const ElementType &a = R->from_ring_elem_const(f);
281 bool ret = R->is_zero(a);
282 return ret;
283 }
RingType::ElementType ElementType
std::unique_ptr< RingType > R

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