home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
unix
/
volume10
/
complex-lib
/
cxconj.c
< prev
next >
Wrap
C/C++ Source or Header
|
1987-07-14
|
278b
|
22 lines
/*
CxConj -- conjugate a complex
CxConj( &c ) conjugates c and returns &c
last edit: 86/01/04 D A Gwyn
SCCS ID: @(#)cxconj.c 1.1
*/
#include <complex.h>
complex *
CxConj( cp )
register complex *cp;
{
/* (real part unchanged) */
cp->im = -cp->im;
return cp;
}