annotate rDiff/src/locfit/Source/tube.h @ 1:08d3a6143873

Deleted selected files
author vipints
date Tue, 08 Oct 2013 06:54:25 -0400
parents 0f80a5141704
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
1 /*
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
2 * Copyright 1996-2006 Catherine Loader.
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
3 */
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
4 /*
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
5 * Copyright (c) 1998-2006 Catherine Loader
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
6 * See README file for details.
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
7 *
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
8 *
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
9 * Headers for the tube library.
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
10 */
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
11
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
12 #ifndef I_TUBE_H
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
13 #define I_TUBE_H
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
14
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
15 /*
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
16 * public functions needed by routines calling the tube library.
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
17 */
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
18 extern double critval();
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
19 extern double tailp(), taild();
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
20 extern int tube_constants();
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
21 extern int k0_reqd();
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
22
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
23 /*
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
24 * stuff used internally.
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
25 */
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
26
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
27 #include "stdlib.h"
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
28 #include "mut.h"
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
29
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
30 #define TUBE_MXDIM 10
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
31
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
32 /*
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
33 * definitions for integration methods.
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
34 * these match locfit evaluation structures where applicable.
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
35 */
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
36
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
37 #define ISIMPSON 4 /* grid */
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
38 #define ISPHERIC 11 /* circle or sphere */
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
39 #define IDERFREE 25 /* derivative free */
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
40 #define IMONTE 30 /* monte carlo */
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
41
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
42 #ifndef PI
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
43 #define PI 3.141592653589793238462643
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
44
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
45 #endif
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
46
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
47 #define ONE_SIDED 1
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
48 #define TWO_SIDED 2
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
49
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
50 #define UNIF 400
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
51 #define GAUSS 401
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
52 #define TPROC 402
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
53 #endif /* define I_TUBE_H */