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

◆ negate()

void M2::ARingRRi::negate ( ElementType & result,
const ElementType & a ) const
inline

Definition at line 209 of file aring-RRi.hpp.

210 {
211 mpfi_mul_si(&result, &a, -1);
212 }
VALGRIND_MAKE_MEM_DEFINED & result(result)

References result().

Referenced by syzygy(), TEST(), and testRingNegateRRi().