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

◆ mult() [1/2]

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

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

312 {
313 RealElementType tmp;
314 tmp = a.re * b.re - a.im * b.im;
315 res.im = a.re * b.im + a.im * b.re;
316 res.re = tmp;
317 }
RealRingType::ElementType RealElementType
Definition aring-CC.hpp:83

References cc_doubles_struct::im, and cc_doubles_struct::re.