d_cnjg.c 255 B

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