Macaulay2 Engine
Loading...
Searching...
No Matches
◆
operator/()
complex
complex::operator/
(
complex
c
)
inline
Definition at line
319
of file
NAG.hpp
.
320
{
321
double
div = (c.
real
* c.
real
) + (c.
imag
* c.
imag
);
322
complex
tmp;
323
tmp.
real
= (
real
* c.
real
) + (
imag
* c.
imag
);
324
tmp.
real
/= div;
325
tmp.
imag
= (
imag
* c.
real
) - (
real
* c.
imag
);
326
tmp.
imag
/= div;
327
return
tmp;
328
}
complex::imag
double imag
Definition
NAG.hpp:224
complex::complex
complex()
Definition
NAG.hpp:248
complex::real
double real
Definition
NAG.hpp:223
References
complex()
,
imag
, and
real
.
complex
Generated on
for Macaulay2 Engine by
1.15.0