tube.h 957 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /*
  2. * Copyright 1996-2006 Catherine Loader.
  3. */
  4. /*
  5. * Copyright (c) 1998-2006 Catherine Loader
  6. * See README file for details.
  7. *
  8. *
  9. * Headers for the tube library.
  10. */
  11. #ifndef I_TUBE_H
  12. #define I_TUBE_H
  13. /*
  14. * public functions needed by routines calling the tube library.
  15. */
  16. extern double critval();
  17. extern double tailp(), taild();
  18. extern int tube_constants();
  19. extern int k0_reqd();
  20. /*
  21. * stuff used internally.
  22. */
  23. #include "stdlib.h"
  24. #include "mut.h"
  25. #define TUBE_MXDIM 10
  26. /*
  27. * definitions for integration methods.
  28. * these match locfit evaluation structures where applicable.
  29. */
  30. #define ISIMPSON 4 /* grid */
  31. #define ISPHERIC 11 /* circle or sphere */
  32. #define IDERFREE 25 /* derivative free */
  33. #define IMONTE 30 /* monte carlo */
  34. #ifndef PI
  35. #define PI 3.141592653589793238462643
  36. #endif
  37. #define ONE_SIDED 1
  38. #define TWO_SIDED 2
  39. #define UNIF 400
  40. #define GAUSS 401
  41. #define TPROC 402
  42. #endif /* define I_TUBE_H */