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

◆ abs_squared()

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

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

352 {
353 result = a.re * a.re + a.im * a.im;
354 }
VALGRIND_MAKE_MEM_DEFINED & result(result)

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