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

◆ negate()

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

Definition at line 316 of file aring-CCi.hpp.

317 {
318 mpfi_mul_si(&result.re, &a.re, -1);
319 mpfi_mul_si(&result.im, &a.im, -1);
320 }
VALGRIND_MAKE_MEM_DEFINED & result(result)

References cci_struct::im, cci_struct::re, and result().

Referenced by syzygy().