home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / listings / v_08_09 / 8n09052a < prev    next >
Text File  |  1990-07-24  |  2KB  |  49 lines

  1.  
  2. Listing 5:
  3.  
  4. /***********************************************
  5. **                                            **
  6. **  File CMPLX.H                              **
  7. **                                            **
  8. **  Complex Function Include File             **
  9. **                                            **
  10. **  Maynard A. Wright, P. E.      4-16-90     **
  11. **                                            **
  12. ***********************************************/
  13.  
  14. #ifndef struct cmplx_nmbr
  15.  
  16. struct cmplx_nmbr
  17.  
  18. {   double rea
  19.    double imag;
  20.     
  21. } arg, arg1, arg2, answer;
  22.  
  23. #endif
  24.  
  25. /* Function Prototypes */
  26.  
  27. struct cmplx_nmbr csinh(struct cmplx_nmbr);
  28. struct cmplx_nmbr ccosh(struct cmplx_nmbr);
  29. struct cmplx_nmbr ctanh(struct cmplx_nmbr);
  30. struct cmplx_nmbr catnh(struct cmplx_nmbr);
  31. struct cmplx_nmbr csin(struct cmplx_nmbr);
  32. struct cmplx_nmbr ccos(struct cmplx_nmbr);
  33. struct cmplx_nmbr ctan(struct cmplx_nmbr);
  34. struct cmplx_nmbr catn(struct cmplx_nmbr);
  35. struct cmplx_nmbr cloge(struct cmplx_nmbr);
  36. struct cmplx_nmbr clog10(struct cmplx_nmbr);
  37. struct cmplx_nmbr cexp(struct cmplx_nmbr);
  38. struct cmplx_nmbr cten2x(struct cmplx_nmbr);
  39. struct cmplx_nmbr cmplxinv(struct cmplx_nmbr);
  40. struct cmplx_nmbr cmplxadd(struct cmplx_nmbr,
  41.                            struct cmplx_nmbr);
  42. struct cmplx_nmbr cmplxsub(struct cmplx_nmbr,
  43.                            struct cmplx_nmbr);
  44. struct cmplx_nmbr cmplxmul(struct cmplx_nmbr,
  45.                            struct cmplx_nmbr);
  46. struct cmplx_nmbr cmplxdiv(struct cmplx_nmbr,
  47.                            struct cmplx_nmbr);
  48.  
  49.