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

◆ invert()

void M2::ARingZZpFlint::invert ( ElementType & result,
ElementType a ) const
inline

Definition at line 184 of file aring-zzp-flint.hpp.

185 {
186 if (is_zero(a)) throw exc::division_by_zero_error();
187
188 result = n_invmod(a, mCharac);
189 }
bool is_zero(ElementType f) const
VALGRIND_MAKE_MEM_DEFINED & result(result)

References is_zero(), mCharac, and result().