r_cnjg.c 235 B

123456789101112131415161718
  1. #include "f2c.h"
  2. #ifdef __cplusplus
  3. extern "C" {
  4. #endif
  5. #ifdef KR_headers
  6. VOID r_cnjg(r, z) complex *r, *z;
  7. #else
  8. VOID r_cnjg(complex *r, complex *z)
  9. #endif
  10. {
  11. real zi = z->i;
  12. r->r = z->r;
  13. r->i = -zi;
  14. }
  15. #ifdef __cplusplus
  16. }
  17. #endif