complex.h

    MATH

    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

    Function Name

    Description

    (double complex z)

    double  

    Calculates the arc cosine of the complex number z.

    cacosf (float z)

    float complex 

    Calculates the arc cosine of the complex number z.

    (long double complex z)

    long double  

    Calculates the arc cosine of the complex number z.

    casin (double z)

    double complex 

    Calculates the arc sine of the complex number z.

    (float complex z)

    float  

    Calculates the arc sine of the complex number z.

    casinl (long double z)

    long double complex 

    Calculates the arc sine of the complex number z.

    (double complex z)

    double  

    Calculates the arc tangent of the complex number z.

    catanf (float z)

    float complex 

    Calculates the arc tangent of the complex number z.

    (long double complex z)

    long double  

    Calculates the arc tangent of the complex number z.

    ccos (double z)

    double complex 

    Calculates the cosine of the complex number z.

    (float complex z)

    float  

    Calculates the cosine of the complex number z.

    ccosl (long double z)

    long double complex 

    Calculates the cosine of the complex number z.

    (double complex z)

    double  

    Calculates the sine of the complex number z.

    csinf (float z)

    float complex 

    Calculates the sine of the complex number z.

    (long double complex z)

    long double  

    Calculates the sine of the complex number z.

    ctan (double z)

    double complex 

    Calculates the tangent of the complex number z.

    (float complex z)

    float  

    Calculates the tangent of the complex number z.

    ctanl (long double z)

    long double complex 

    Calculates the tangent of the complex number z.

    double  

    Calculates the inverse hyperbolic cosine of the complex number z.

    cacoshf (float z)

    float complex 

    Calculates the inverse hyperbolic cosine of the complex number z.

    (long double complex z)

    long double  

    Calculates the inverse hyperbolic cosine of the complex number z.

    casinh (double z)

    double complex 

    Calculates the inverse hyperbolic sine of the complex number z.

    (float complex z)

    float  

    Calculates the inverse hyperbolic sine of the complex number z.

    casinhl (long double z)

    long double complex 

    Calculates the inverse hyperbolic sine of the complex number z.

    (double complex z)

    double  

    Calculates the inverse hyperbolic tangent of the complex number z.

    catanhf (float z)

    float complex 

    Calculates the inverse hyperbolic tangent of the complex number z.

    (long double complex z)

    long double  

    Calculates the inverse hyperbolic tangent of the complex number z.

    ccosh (double z)

    double complex 

    Calculates the hyperbolic cosine of the complex number z.

    (float complex z)

    float  

    Calculates the hyperbolic cosine of the complex number z.

    ccoshl (long double z)

    long double complex 

    Calculates the hyperbolic cosine of the complex number z.

    (double complex z)

    double  

    Calculates the hyperbolic sine of the complex number z.

    csinhf (float z)

    float complex 

    Calculates the hyperbolic sine of the complex number z.

    (long double complex z)

    long double  

    Calculates the hyperbolic sine of the complex number z.

    ctanh (double z)

    double complex 

    Calculates the hyperbolic tangent of the complex number z.

    (float complex z)

    float  

    Calculates the hyperbolic tangent of the complex number z.

    ctanhl (long double z)

    long double complex 

    Calculates the hyperbolic tangent of the complex number z.

    (double complex z)

    double  

    Calculates the base-e exponential of the complex number z.

    cexpf (float z)

    float complex 

    Calculates the base-e exponential of the complex number z.

    (long double complex z)

    long double  

    Calculates the base-e exponential of the complex number z.

    clog (double z)

    double complex 

    Calculates the natural (base-e) logarithm of the complex number z.

    (float complex z)

    float  

    Calculates the natural (base-e) logarithm of the complex number z.

    clogl (long double z)

    long double complex 

    (double complex z)

    double 

    Calculates the absolute value of the complex number z.

    (float complex z)

    float 

    Calculates the absolute value of the complex number z.

    (long double complex z)

    long double 

    Calculates the absolute value of the complex number z.

    (double complex x, double z)

    double complex 

    Calculates the value of x raised to the z power.

    (float complex x, float z)

    float complex 

    Calculates the value of x raised to the z power.

    (long double complex x, long double z)

    long double complex 

    Calculates the value of x raised to the z power.

    (double complex z)

    double  

    Calculates the square root of the complex number z.

    csqrtf (float z)

    float complex 

    Calculates the square root of the complex number z.

    (long double complex z)

    long double  

    Calculates the square root of the complex number z.

    carg (double z)

    double 

    Calculates the phase angle of the complex number z.

    cargf (float z)

    float 

    Calculates the phase angle of the complex number z.

    cargl (long double z)

    long double 

    Calculates the phase angle of the complex number z.

    cimag (double z)

    double 

    Calculates the imaginary part of the complex number z.

    cimagf (float z)

    float 

    Calculates the imaginary part of the complex number z.

    cimagl (long double z)

    long double 

    Calculates the imaginary part of the complex number z.

    conj (double z)

    double complex 

    Calculates the conjugate of the complex number z.

    (float complex z)

    float  

    Calculates the conjugate of the complex number z.

    conjl (long double z)

    long double complex 

    Calculates the conjugate of the complex number z.

    (double complex z)

    double  

    Calculates the projection of the complex number z onto the Riemann sphere.

    cprojf (float z)

    float complex 

    Calculates the projection of the complex number z onto the Riemann sphere.

    (long double complex z)

    long double  

    Calculates the projection of the complex number z onto the Riemann sphere.

    creal (double z)

    double 

    Calculates the real part of the complex number z.

    crealf (float z)

    float 

    Calculates the real part of the complex number z.

    creall (long double z)

    Calculates the real part of the complex number z.