Macaulay2 Engine
Loading...
Searching...
No Matches
◆
getreciprocal()
complex
complex::getreciprocal
(
)
inline
Definition at line
338
of file
NAG.hpp
.
339
{
340
complex
t;
341
t.
real
=
real
;
342
t.
imag
=
imag
* -1;
343
double
div;
344
div = (
real
*
real
) + (
imag
*
imag
);
345
t.
real
/= div;
346
t.
imag
/= div;
347
return
t;
348
}
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