Macaulay2 Engine
Loading...
Searching...
No Matches
◆
invert()
void M2::ARingGFM2::invert
(
elem
&
result
,
elem
a
) const
inline
Definition at line
251
of file
aring-m2-gf.hpp
.
252
{
253
if
(a == 0)
254
throw
exc::division_by_zero_error();
255
result
= (a ==
mGF
.one() ?
mGF
.one() :
mGF
.orderMinusOne() - a);
256
}
M2::ARingGFM2::mGF
GaloisFieldTable mGF
Definition
aring-m2-gf.hpp:148
result
VALGRIND_MAKE_MEM_DEFINED & result(result)
References
mGF
, and
result()
.
M2
ARingGFM2
Generated on
for Macaulay2 Engine by
1.15.0