0
|
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
|
|
12 #ifndef I_TUBE_H
|
|
13 #define I_TUBE_H
|
|
14
|
|
15 /*
|
|
16 * public functions needed by routines calling the tube library.
|
|
17 */
|
|
18 extern double critval();
|
|
19 extern double tailp(), taild();
|
|
20 extern int tube_constants();
|
|
21 extern int k0_reqd();
|
|
22
|
|
23 /*
|
|
24 * stuff used internally.
|
|
25 */
|
|
26
|
|
27 #include "stdlib.h"
|
|
28 #include "mut.h"
|
|
29
|
|
30 #define TUBE_MXDIM 10
|
|
31
|
|
32 /*
|
|
33 * definitions for integration methods.
|
|
34 * these match locfit evaluation structures where applicable.
|
|
35 */
|
|
36
|
|
37 #define ISIMPSON 4 /* grid */
|
|
38 #define ISPHERIC 11 /* circle or sphere */
|
|
39 #define IDERFREE 25 /* derivative free */
|
|
40 #define IMONTE 30 /* monte carlo */
|
|
41
|
|
42 #ifndef PI
|
|
43 #define PI 3.141592653589793238462643
|
|
44
|
|
45 #endif
|
|
46
|
|
47 #define ONE_SIDED 1
|
|
48 #define TWO_SIDED 2
|
|
49
|
|
50 #define UNIF 400
|
|
51 #define GAUSS 401
|
|
52 #define TPROC 402
|
|
53 #endif /* define I_TUBE_H */
|