complex.h
Overview
Related Modules:
Description:
Declares functions to perform operations on complex numbers.
You can use the functions provided in this file to perform operations on complex numbers during development. The functions include complex trigonometric, inverse trigonometric, hyperbolic, inverse hyperbolic, exponential, and logarithmic functions, and the functions to obtain the real and imaginary parts of a complex number.
Since:
1.0
Version:
1.0
Summary
Macros
| Macro Name and Value | Description |
|---|---|
| complex _Complex | Indicates the type of a complex number. |
Functions
| Function Name | Description |
|---|---|
| cacos (double complex z) | double complex Calculates the arc cosine of the complex number z. |
| cacosf (float complex z) | float complex Calculates the arc cosine of the complex number z. |
| cacosl (long double complex z) | long double complex Calculates the arc cosine of the complex number z. |
| casin (double complex z) | double complex Calculates the arc sine of the complex number z. |
| casinf (float complex z) | float complex Calculates the arc sine of the complex number z. |
| casinl (long double complex z) | long double complex Calculates the arc sine of the complex number z. |
| catan (double complex z) | double complex Calculates the arc tangent of the complex number z. |
| catanf (float complex z) | float complex Calculates the arc tangent of the complex number z. |
| catanl (long double complex z) | long double complex Calculates the arc tangent of the complex number z. |
| ccos (double complex z) | double complex Calculates the cosine of the complex number z. |
| ccosf (float complex z) | float complex Calculates the cosine of the complex number z. |
| ccosl (long double complex z) | long double complex Calculates the cosine of the complex number z. |
| csin (double complex z) | double complex Calculates the sine of the complex number z. |
| csinf (float complex z) | float complex Calculates the sine of the complex number z. |
| csinl (long double complex z) | long double complex Calculates the sine of the complex number z. |
| ctan (double complex z) | double complex Calculates the tangent of the complex number z. |
| ctanf (float complex z) | float complex Calculates the tangent of the complex number z. |
| ctanl (long double complex z) | long double complex Calculates the tangent of the complex number z. |
| cacosh (double complex z) | double complex Calculates the inverse hyperbolic cosine of the complex number z. |
| cacoshf (float complex z) | float complex Calculates the inverse hyperbolic cosine of the complex number z. |
| cacoshl (long double complex z) | long double complex Calculates the inverse hyperbolic cosine of the complex number z. |
| casinh (double complex z) | double complex Calculates the inverse hyperbolic sine of the complex number z. |
| casinhf (float complex z) | float complex Calculates the inverse hyperbolic sine of the complex number z. |
| casinhl (long double complex z) | long double complex Calculates the inverse hyperbolic sine of the complex number z. |
| catanh (double complex z) | double complex Calculates the inverse hyperbolic tangent of the complex number z. |
| catanhf (float complex z) | float complex Calculates the inverse hyperbolic tangent of the complex number z. |
| catanhl (long double complex z) | long double complex Calculates the inverse hyperbolic tangent of the complex number z. |
| ccosh (double complex z) | double complex Calculates the hyperbolic cosine of the complex number z. |
| ccoshf (float complex z) | float complex Calculates the hyperbolic cosine of the complex number z. |
| ccoshl (long double complex z) | long double complex Calculates the hyperbolic cosine of the complex number z. |
| csinh (double complex z) | double complex Calculates the hyperbolic sine of the complex number z. |
| csinhf (float complex z) | float complex Calculates the hyperbolic sine of the complex number z. |
| csinhl (long double complex z) | long double complex Calculates the hyperbolic sine of the complex number z. |
| ctanh (double complex z) | double complex Calculates the hyperbolic tangent of the complex number z. |
| ctanhf (float complex z) | float complex Calculates the hyperbolic tangent of the complex number z. |
| ctanhl (long double complex z) | long double complex Calculates the hyperbolic tangent of the complex number z. |
| cexp (double complex z) | double complex Calculates the base-e exponential of the complex number z. |
| cexpf (float complex z) | float complex Calculates the base-e exponential of the complex number z. |
| cexpl (long double complex z) | long double complex Calculates the base-e exponential of the complex number z. |
| clog (double complex z) | double complex Calculates the natural (base-e) logarithm of the complex number z. |
| clogf (float complex z) | float complex Calculates the natural (base-e) logarithm of the complex number z. |
| clogl (long double complex z) | long double complex Calculates the natural (base-e) logarithm of the complex number z. |
| cabs (double complex z) | double Calculates the absolute value of the complex number z. |
| cabsf (float complex z) | float Calculates the absolute value of the complex number z. |
| cabsl (long double complex z) | long double Calculates the absolute value of the complex number z. |
| cpow (double complex x, double complex z) | double complex Calculates the value of x raised to the z power. |
| cpowf (float complex x, float complex z) | float complex Calculates the value of x raised to the z power. |
| cpowl (long double complex x, long double complex z) | long double complex Calculates the value of x raised to the z power. |
| csqrt (double complex z) | double complex Calculates the square root of the complex number z. |
| csqrtf (float complex z) | float complex Calculates the square root of the complex number z. |
| csqrtl (long double complex z) | long double complex Calculates the square root of the complex number z. |
| carg (double complex z) | double Calculates the phase angle of the complex number z. |
| cargf (float complex z) | float Calculates the phase angle of the complex number z. |
| cargl (long double complex z) | long double Calculates the phase angle of the complex number z. |
| cimag (double complex z) | double Calculates the imaginary part of the complex number z. |
| cimagf (float complex z) | float Calculates the imaginary part of the complex number z. |
| cimagl (long double complex z) | long double Calculates the imaginary part of the complex number z. |
| conj (double complex z) | double complex Calculates the conjugate of the complex number z. |
| conjf (float complex z) | float complex Calculates the conjugate of the complex number z. |
| conjl (long double complex z) | long double complex Calculates the conjugate of the complex number z. |
| cproj (double complex z) | double complex Calculates the projection of the complex number z onto the Riemann sphere. |
| cprojf (float complex z) | float complex Calculates the projection of the complex number z onto the Riemann sphere. |
| cprojl (long double complex z) | long double complex Calculates the projection of the complex number z onto the Riemann sphere. |
| creal (double complex z) | double Calculates the real part of the complex number z. |
| crealf (float complex z) | float Calculates the real part of the complex number z. |
| creall (long double complex z) | long double Calculates the real part of the complex number z. |
