System Grab Bag

View all man pages from Linux (or from all projects)

Name

conj, conjf, conjl - calculate the complex conjugate

Library

Math library ( libm ", " -lm )

Synopsis

#include <complex.h> 
double complex conj(double complex  z );
float complex conjf(float complex z );
long double complex conjl(long double complex z );

Description

These functions return the complex conjugate value of z. That is the value obtained by changing the sign of the imaginary part.

One has:

cabs(z) = csqrt(z * conj(z))

Attributes

For an explanation of the terms used in this section, see attributes(7). allbox; lbx lb lb T{ conj()conjf()conjl()
InterfaceAttributeValue
T}Thread safetyMT-Safe

Standards

C11, POSIX.1-2008.

History

glibc 2.1. C99, POSIX.1-2001.

See Also

  1. cabs(3),
  2. csqrt(3),
  3. complex(7)