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

◆ operator*()

complex complex::operator* ( complex c)
inline

Definition at line 311 of file NAG.hpp.

312{
313 complex tmp;
314 tmp.real = (real * c.real) - (imag * c.imag);
315 tmp.imag = (real * c.imag) + (imag * c.real);
316 return tmp;
317}
double imag
Definition NAG.hpp:224
complex()
Definition NAG.hpp:248
double real
Definition NAG.hpp:223

References complex(), imag, and real.