[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Base Operating System and Extensions, Volume 1

conj, conjf, or conjl Subroutine

Purpose

Computes the complex conjugate.

Syntax

#include <complex.h>

double complex conj (z)
double complex z;

float complex conjf (z)
float complex z;

long double complex conjl (z)
long double complex z;

Description

The conj, conjf, or conjl subroutines compute the complex conjugate of z, by reversing the sign of its imaginary part.

Parameters

z Specifies the value to be computed.

Return Values

The conj, conjf, or conjl subroutines return the complex conjugate value.

Related Information

The carg, cargf, or cargl Subroutine, cimag, cimagf, or cimagl Subroutine, cproj, cprojf, or cprojl Subroutine, creal, crealf, or creall Subroutine.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]