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

◆ negate()

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

Definition at line 228 of file aring-CC.hpp.

229 {
230 result.re = -a.re;
231 result.im = -a.im;
232 }
VALGRIND_MAKE_MEM_DEFINED & result(result)

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

Referenced by elem_text_out(), syzygy(), TEST(), and testRingNegateCCC().