Macaulay2 Engine
Loading...
Searching...
No Matches
◆
is_unit()
bool
M2::ARingZZGMP::is_unit
(
const
ElementType
&
f
)
const
inline
Definition at line
82
of file
aring-zz-gmp.hpp
.
83
{
84
return
mpz_cmp_si(&f, 1) == 0 or mpz_cmp_si(&f, -1) == 0;
85
}
Referenced by
invert()
.
M2
ARingZZGMP
Generated on
for Macaulay2 Engine by
1.15.0