Macaulay2 Engine
Loading...
Searching...
No Matches
◆
invert()
bool
M2::ARingQQGMP::invert
(
ElementType
&
result
,
const
ElementType
&
a
) const
inline
Definition at line
179
of file
aring-qq-gmp.hpp
.
180
{
181
if
(
is_unit
(a))
182
{
183
mpq_inv(&
result
, &a);
184
return
true
;
185
}
186
set_zero
(
result
);
187
return
false
;
188
}
M2::ARingQQGMP::is_unit
bool is_unit(const ElementType &f) const
Definition
aring-qq-gmp.hpp:93
M2::ARingQQGMP::set_zero
void set_zero(ElementType &result) const
Definition
aring-qq-gmp.hpp:129
result
VALGRIND_MAKE_MEM_DEFINED & result(result)
References
is_unit()
,
result()
, and
set_zero()
.
M2
ARingQQGMP
Generated on
for Macaulay2 Engine by
1.15.0