30 #ifndef AMATH_LIB_COMPLEX_H 31 #define AMATH_LIB_COMPLEX_H 34 #pragma GCC diagnostic ignored "-Wbuiltin-declaration-mismatch" 53 double csgn(complex z);
54 double cabs(complex z);
55 double creal(complex z);
56 double cimag(complex z);
57 double cabs(complex z);
58 complex
cpack(
double x,
double y);
59 complex
cadd(complex a, complex z);
60 complex
csub(complex a, complex z);
61 complex
cmul(complex a, complex z);
62 complex
cdiv(complex a, complex z);
63 complex
cpow(complex x, complex z);
64 complex
cceil(complex z);
68 complex
creci(complex z);
69 complex
conj(complex z);
70 complex
cexp(complex z);
71 complex
csqrt(complex z);
72 complex
ccbrt(complex z);
73 complex
clog(complex z);
74 complex
clogb(complex z);
76 complex
ccos(complex z);
77 complex
csin(complex z);
78 complex
ctan(complex z);
79 complex
csec(complex z);
80 complex
ccsc(complex z);
81 complex
ccot(complex z);
82 complex
cacos(complex z);
83 complex
casin(complex z);
84 complex
catan(complex z);
85 complex
casec(complex z);
86 complex
cacsc(complex z);
87 complex
cacot(complex z);
88 complex
ccosh(complex z);
89 complex
csinh(complex z);
90 complex
ctanh(complex z);
91 complex
csech(complex z);
92 complex
ccsch(complex z);
93 complex
ccoth(complex z);
complex cexp(complex z)
Returns e to the power of a complex number.
complex csech(complex z)
Hyperbolic secant of a complex number.
complex ctanh(complex z)
Hyperbolic tangent of a complex number.
complex ctan(complex z)
Tangent of a complex number.
complex clog(complex z)
Natural logarithm of a complex number.
complex csub(complex a, complex z)
Subtraction of two complex numbers.
complex casec(complex z)
Inverse secant expressed using complex logarithms:
complex cpow(complex x, complex z)
Complex number raised to a power.
complex cround(complex z)
Division of two complex numbers.
double creal(complex z)
Real part of complex number.
complex cadd(complex a, complex z)
Addition of two complex numbers.
complex casinh(complex z)
Inverse hyperbolic sine of complex number.
complex cdiv(complex a, complex z)
Division of two complex numbers.
complex clogb(complex z)
Base 2 logarithmic value of complex number.
complex ctrunc(complex z)
Truncated value of complex number.
complex clog10(complex z)
Base 10 logarithmic value of complex number.
complex csqrt(complex z)
Square root of complex number.
complex catanh(complex z)
Inverse hyperbolic tangent of complex number.
complex csinh(complex z)
Hyperbolic sine of a complex number.
complex cacsch(complex z)
Inverse hyperbolic cosecant of complex number.
double cabs(complex z)
Absolute value of complex number.
complex ccosh(complex z)
Hyperbolic cosine of a complex number.
complex cfloor(complex z)
Floor value of complex number.
complex cpack(double x, double y)
Pack two real numbers into a complex number.
complex cceil(complex z)
Ceiling value of complex number.
complex ccsch(complex z)
Hyperbolic secant of a complex number.
complex ccsc(complex z)
Cosecant of a complex number.
double cimag(complex z)
Imaginary part of complex number.
complex ccbrt(complex z)
Cube root of complex number.
complex cmul(complex a, complex z)
Multiplication of two complex numbers.
complex csec(complex z)
Secant of a complex number.
complex cacot(complex z)
Inverse cotangent of complex number.
double csgn(complex z)
Complex signum.
complex ccoth(complex z)
Hyperbolic cotangent of a complex number.
complex casech(complex z)
Inverse hyperbolic secant of complex numbers.
complex ccot(complex z)
Cotangent of a complex number.
complex catan(complex z)
Inverse tangent of complex number.
complex cacsc(complex z)
Inverse cosecant of complex number.
complex casin(complex z)
Inverse sine of complex number.
complex cacoth(complex z)
Inverse hyperbolic cotangent of complex number.
complex cacosh(complex z)
Inverse hyperbolic cosine of complex number.
complex ccos(complex z)
Cosine of complex number.
complex creci(complex z)
Reciprocal value of complex number.
complex cacos(complex z)
Inverse cosine of complex number.
complex csin(complex z)
Sine of a complex number.