1 /**************************************************************** 2 Copyright 1990 - 1997 by AT&T, Lucent Technologies and Bellcore. 3 4 Permission to use, copy, modify, and distribute this software 5 and its documentation for any purpose and without fee is hereby 6 granted, provided that the above copyright notice appear in all 7 copies and that both that the copyright notice and this 8 permission notice and warranty disclaimer appear in supporting 9 documentation, and that the names of AT&T, Bell Laboratories, 10 Lucent or Bellcore or any of their entities not be used in 11 advertising or publicity pertaining to distribution of the 12 software without specific, written prior permission. 13 14 AT&T, Lucent and Bellcore disclaim all warranties with regard to 15 this software, including all implied warranties of 16 merchantability and fitness. In no event shall AT&T, Lucent or 17 Bellcore be liable for any special, indirect or consequential 18 damages or any damages whatsoever resulting from loss of use, 19 data or profits, whether in an action of contract, negligence or 20 other tortious action, arising out of or in connection with the 21 use or performance of this software. 22 ****************************************************************/ 23 24 #include "f2c.h" 25 26 #ifdef __cplusplus 27 extern "C" { 28 #endif 29 d_cnjg(doublecomplex * r,const doublecomplex * z)30 void d_cnjg(doublecomplex *r, const doublecomplex *z) 31 { 32 doublereal zi = z->i; 33 r->r = z->r; 34 r->i = -zi; 35 } r_cnjg(complex * r,complex * z)36 void r_cnjg(complex *r, complex *z) 37 { 38 real zi = z->i; 39 r->r = z->r; 40 r->i = -zi; 41 } 42 43 #ifdef __cplusplus 44 } 45 #endif 46