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

◆ addMultipleTo() [2/2]

void M2::ARingCC::addMultipleTo ( ElementType & res,
const RealElementType & a,
const ElementType & b ) const
inline

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

266 {
268 result.re += a * b.re;
269 result.im += a * b.im;
270 set(res, result);
271 }
void set(ElementType &result, const ElementType &a) const
Definition aring-CC.hpp:157
elem ElementType
Definition aring-CC.hpp:81
VALGRIND_MAKE_MEM_DEFINED & result(result)

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