home *** CD-ROM | disk | FTP | other *** search
/ Troubleshooting Netware Systems / CSTRIAL0196.BIN / attach / pcc / v08n03 / math.exe / PARSER21.ZIP / FORMULC.H < prev    next >
Text File  |  1994-08-23  |  1KB  |  34 lines

  1. /* FORMULA.H     as of 8\18\94 (v2.1)*/
  2. /*Copyright (c) 1994 by Harald Helfgott        */
  3. /* This program must be distributed with its corresponding README.DOC */
  4. /* The full copyright and availability notice is in README.DOC          */
  5. /*     This program is provided "as is", without any explicit or */
  6. /* implicit warranty. */
  7.  
  8.  
  9. /* Programmer's Address:
  10.         Harald Helfgott
  11.         MB 1807, Brandeis University
  12.         P.O. Box 9110
  13.         Waltham, MA 02254-9110
  14.            OR
  15.          (during the summer)
  16.         2606 Willett Apt. 427
  17.         Laramie, Wyoming 82070
  18.         seiere@uwyo.edu */
  19. #define CHAR char
  20.             /* this may be signed or unsigned; it must
  21.             only be the usual format for printable
  22.             characters (i.e. characters in the
  23.             source expression) . */
  24. #define UCHAR unsigned char
  25. #define MAXPAR 3
  26.             /* maximum number of parameters */
  27. UCHAR *translate(CHAR *source, CHAR *args, int *length, int *error);
  28. double fval(UCHAR *function, CHAR *args, ...);
  29. double f_x_val(UCHAR *function, double x);
  30. int fnew(CHAR *name, void *f, int n_of_pars);
  31. int read_table(int i, CHAR *name, int *n_of_pars);
  32. int where_table(CHAR *name);
  33. int fdel(CHAR *name);
  34.