42 complex
cpow(complex a, complex z)
45 double x, y, r, theta, absa, arga;
60 r = r *
exp(-y * arga
);
61 theta = theta + y *
log(absa
);
double log(double x)
Natural logarithm function (base e)
double cos(double x)
Cosine function.
double pow(double x, double y)
Expontation function.
complex cpow(complex x, complex z)
Complex number raised to a power.
double creal(complex z)
Real part of complex number.
double cabs(complex z)
Absolute value of complex number.
complex cpack(double x, double y)
Pack two real numbers into a complex number.
double cimag(complex z)
Imaginary part of complex number.
double atan2(double y, double x)
Inverse tangent function.
double sin(double x)
Sine function.
double exp(double x)
Returns the exponential of x.