Macaulay2 Engine
Loading...
Searching...
No Matches
◆
getmodulus()
double complex::getmodulus
(
)
inline
Definition at line
350
of file
NAG.hpp
.
351
{
352
double
z;
353
z = (
real
*
real
) + (
imag
*
imag
);
354
z =
sqrt
(z);
355
return
z;
356
}
complex::imag
double imag
Definition
NAG.hpp:224
complex::real
double real
Definition
NAG.hpp:223
mpfr::sqrt
const mpreal sqrt(const unsigned int v, mp_rnd_t rnd_mode=mpreal::get_default_rnd())
Definition
mpreal.h:2244
References
imag
, and
real
.
complex
Generated on
for Macaulay2 Engine by
1.15.0