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

◆ IM2_RingElement_get_coeff()

const RingElement * IM2_RingElement_get_coeff ( const Ring * coeffRing,
const RingElement * a,
const EngineMonomial * m )

Definition at line 583 of file ringelement.cpp.

590{
591 try
592 {
593 return a->get_coeff(coeffRing, m);
594 } catch (const exc::engine_error& e)
595 {
596 ERROR(e.what());
597 return nullptr;
598 }
599}
RingElement * get_coeff(const Ring *coeffR, const EngineMonomial *m) const
Definition relem.cpp:185
const int ERROR
Definition m2-mem.cpp:55

References ERROR, and RingElement::get_coeff().