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

◆ add()

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

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

342 {
343 mpfi_add(&result.re, &a.re, &b.re);
344 mpfi_add(&result.im, &a.im, &b.im);
345 }
VALGRIND_MAKE_MEM_DEFINED & result(result)

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

Referenced by addMultipleTo().