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
}
M2::ARingZZpFlint::mCharac
size_t mCharac
Definition
aring-zzp-flint.hpp:334
M2::ARingZZpFlint::is_zero
bool is_zero(ElementType f) const
Definition
aring-zzp-flint.hpp:122
result
VALGRIND_MAKE_MEM_DEFINED & result(result)
References
is_zero()
,
mCharac
, and
result()
.
M2
ARingZZpFlint
Generated on
for Macaulay2 Engine by
1.15.0