Name | Description | Notes | Source | Availability | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|
conj() |
Compute the complex conjugate | M | (·) | <tgmath.h> |
C99 | C11 | |||||
conj() |
Compute the complex conjugate | ? | (·) | <complex.h> |
C99 | C11 | |||||
conjf() |
Compute the complex conjugate | ? | (·) | <complex.h> |
C99 | C11 | |||||
conjl() |
Compute the complex conjugate | ? | (·) | <complex.h> |
C99 | C11 |
The conjugate of a complex number x+iy has the same real component but a negated imaginary component, x−iy.
The following C functions are available to compute conjugates:
#include <complex.h>
float complex conjf(float complex x);
double complex conj(double complex x);
long double complex conjl(long double complex x);
#include <tgmath.h>
complex-type conj(complex-type x);