AMA_Mltv.h
Go to the documentation of this file.
1 
4 #ifndef AMA_MLTV_H
5 #define AMA_MLTV_H
6 
7 /* -------------------------------------------------------------------------------------------------------------------------------
8  -------------------------------------------------------------------------------------------------------------------------------
9  --- THESE ARE USER CALLABLE FUNCTIONS ---
10  -------------------------------------------------------------------------------------------------------------------------------
11  ------------------------------------------------------------------------------------------------------------------------------- */
12 
13 long int AMA_MltvApprox ( AMA_OPTIONS *options,
14  long int nind ,
15  long int n ,
16  double **x ,
17  double *z ,
18  double *epsilon,
19  long int *degree ,
20  AMA_SPLINE **spline );
21 
22 long int AMA_MltvGrdApprox ( AMA_OPTIONS *options,
23  long int nind ,
24  long int *ng ,
25  double **x ,
26  double *z ,
27  double *wht ,
28  long int *degree ,
29  AMA_SPLINE **spline );
30 
31 long int AMA_MltvGrdInterp ( AMA_OPTIONS *options,
32  long int nind ,
33  long int *ng ,
34  double **x ,
35  double *z ,
36  long int *degree ,
37  AMA_SPLINE **spline );
38 
39 long int AMA_MltvGrdLstsqr ( AMA_OPTIONS *options,
40  long int nind ,
41  long int *ng ,
42  double **x ,
43  double *z ,
44  double *wht ,
45  long int *degree ,
46  long int *mlamda ,
47  double **lamda ,
48  double theta ,
49  AMA_SPLINE **spline );
50 
51 long int AMA_MltvGrdMonoApprox ( AMA_OPTIONS *options,
52  long int nind ,
53  long int *ng ,
54  double **x ,
55  double *z ,
56  double *epsilon,
57  long int *degree ,
58  AMA_SPLINE **spline );
59 
60 long int AMA_MltvGrdMonoInterp ( AMA_OPTIONS *options,
61  long int nind ,
62  long int *ng ,
63  double **x ,
64  double *z ,
65  long int *degree ,
66  AMA_SPLINE **spline );
67 
68 long int AMA_MltvMonoApprox ( AMA_OPTIONS *options,
69  long int nind ,
70  long int n ,
71  double **x ,
72  double *z ,
73  double *epsilon,
74  long int *degree ,
75  AMA_SPLINE **spline );
76 
77 long int AMA_MltvMonoInterp ( AMA_OPTIONS *options,
78  long int nind ,
79  long int n ,
80  double **x ,
81  double *z ,
82  long int *degree ,
83  AMA_SPLINE **spline );
84 
85 long int AMA_MltvInterp ( AMA_OPTIONS *options,
86  long int nind ,
87  long int n ,
88  double **x ,
89  double *z ,
90  long int *degree ,
91  AMA_SPLINE **spline );
92 
93 long int AMA_MltvLstsqr ( AMA_OPTIONS *options,
94  long int nind ,
95  long int n ,
96  double **x ,
97  double *z ,
98  double *wht ,
99  long int *degree ,
100  long int *mlamda ,
101  double **lamda ,
102  double theta ,
103  AMA_SPLINE **spline );
104 
105 /* -------------------------------------------------------------------------------------------------------------------------------
106  -------------------------------------------------------------------------------------------------------------------------------
107  --- THESE ARE USER SUPPORT FUNCTIONS ---
108  -------------------------------------------------------------------------------------------------------------------------------
109  ------------------------------------------------------------------------------------------------------------------------------- */
110 
111 long int AMA_MltvBoundaryConditions ( AMA_OPTIONS *options,
112  enum AMA_Boolean interp ,
113  CNSPLA_SPLFUN *splfun );
114 
115 long int AMA_MltvData ( AMA_OPTIONS *options,
116  const char *datfile,
117  long int *nind ,
118  long int *degree ,
119  long int *n ,
120  double ***x ,
121  double **z ,
122  double **epsilon,
123  double **wht ,
124  double *theta ,
125  long int *mlamda ,
126  double ***lamda );
127 
128 long int AMA_MltvDataFree ( AMA_OPTIONS *options,
129  long int nind ,
130  double ***x ,
131  double **z ,
132  double **epsilon,
133  double **wht ,
134  double ***lamda );
135 
136 long int AMA_MltvGrdData ( AMA_OPTIONS *options,
137  const char *datfile,
138  long int *nind ,
139  long int *degree ,
140  long int *ng ,
141  double ***x ,
142  double **z ,
143  double **epsilon,
144  double **wht ,
145  double *theta ,
146  long int *mlamda ,
147  double ***lamda );
148 
149 long int AMA_MltvGrdInputCheck ( AMA_OPTIONS *options,
150  long int nind ,
151  long int *ng ,
152  double **x ,
153  double *z ,
154  double *wht ,
155  double *epsilon,
156  long int *degree ,
157  long int *mlamda ,
158  double **lamda ,
159  enum AMA_Boolean lstsqr ,
160  enum AMA_Boolean *mltknt );
161 
162 long int AMA_MltvInputCheck ( AMA_OPTIONS *options,
163  long int nind ,
164  long int n ,
165  double **x ,
166  double *z ,
167  double *wht ,
168  double *epsilon,
169  long int *degree ,
170  long int *mlamda ,
171  double **lamda ,
172  enum AMA_Boolean lstsqr );
173 
174 long int AMA_MltvPnltrm ( AMA_OPTIONS *options,
175  double theta ,
176  long int porder ,
177  CNSPLA_SPLFUN *splfun );
178 
179 long int AMA_MltvConpnt ( AMA_OPTIONS *options,
180  long int nind ,
181  long int n ,
182  double **x ,
183  double *z ,
184  double *epsilon,
185  CNSPLA_SPLFUN *splfun );
186 
187 long int AMA_MltvConreg ( AMA_OPTIONS *options,
188  long int nind ,
189  long int n ,
190  double **x ,
191  double *z ,
192  double *epsilon,
193  long int *degree ,
194  CNSPLA_SPLFUN *splfun );
195 
196 long int AMA_MltvRglrze ( AMA_OPTIONS *options,
197  CNSPLA_SPLFUN *splfun );
198 
199 /* -------------------------------------------------------------------------------------------------------------------------------
200  -------------------------------------------------------------------------------------------------------------------------------
201  --- THESE ARE NOT USER CALLABLE FUNCTIONS ---
202  -------------------------------------------------------------------------------------------------------------------------------
203  ------------------------------------------------------------------------------------------------------------------------------- */
204 
205 
206 #endif /* AMA_MLTV_H */
207 
long int AMA_MltvApprox(AMA_OPTIONS *options, long int nind, long int n, double **x, double *z, double *epsilon, long int *degree, AMA_SPLINE **spline)
Approximation of Multivariate Data
Definition: AMA_MltvApprox.c:119
long int AMA_MltvBoundaryConditions(AMA_OPTIONS *options, enum AMA_Boolean interp, CNSPLA_SPLFUN *splfun)
Define boundary conditions for multivariate approximation and interpolation functions.
Definition: AMA_Mltv.c:31
long int AMA_MltvRglrze(AMA_OPTIONS *options, CNSPLA_SPLFUN *splfun)
long int AMA_MltvLstsqr(AMA_OPTIONS *options, long int nind, long int n, double **x, double *z, double *wht, long int *degree, long int *mlamda, double **lamda, double theta, AMA_SPLINE **spline)
Least Squares Approximation of Multivariate Data
Definition: AMA_MltvLstsqr.c:173
long int AMA_MltvGrdLstsqr(AMA_OPTIONS *options, long int nind, long int *ng, double **x, double *z, double *wht, long int *degree, long int *mlamda, double **lamda, double theta, AMA_SPLINE **spline)
Least Squares Approximation of Multivariate Gridded Data
Definition: AMA_MltvGrdLstsqr.c:219
long int AMA_MltvGrdApprox(AMA_OPTIONS *options, long int nind, long int *ng, double **x, double *z, double *wht, long int *degree, AMA_SPLINE **spline)
Approximation of Multivariate Gridded Data
Definition: AMA_MltvGrdApprox.c:172
long int AMA_MltvGrdMonoInterp(AMA_OPTIONS *options, long int nind, long int *ng, double **x, double *z, long int *degree, AMA_SPLINE **spline)
Monotonic Interpolation of Multivariate Gridded Data
Definition: AMA_MltvGrdMonoInterp.c:258
long int AMA_MltvMonoApprox(AMA_OPTIONS *options, long int nind, long int n, double **x, double *z, double *epsilon, long int *degree, AMA_SPLINE **spline)
Monotonic Approximation of Multivariate Data
Definition: AMA_MltvMonoApprox.c:180
long int AMA_MltvData(AMA_OPTIONS *options, const char *datfile, long int *nind, long int *degree, long int *n, double ***x, double **z, double **epsilon, double **wht, double *theta, long int *mlamda, double ***lamda)
Read data and approximation options for AMA Spline Library Multivariate Random Data Functions...
Definition: AMA_Mltv.c:198
This structure is used to maintain the AMA Spline Library environment.
Definition: AMA.h:335
long int AMA_MltvGrdInputCheck(AMA_OPTIONS *options, long int nind, long int *ng, double **x, double *z, double *wht, double *epsilon, long int *degree, long int *mlamda, double **lamda, enum AMA_Boolean lstsqr, enum AMA_Boolean *mltknt)
Perform input check for multivariate gridded data.
Definition: AMA_Mltv.c:1261
long int AMA_MltvGrdMonoApprox(AMA_OPTIONS *options, long int nind, long int *ng, double **x, double *z, double *epsilon, long int *degree, AMA_SPLINE **spline)
Monotonic Approximation of Multivariate Gridded Data
Definition: AMA_MltvGrdMonoApprox.c:263
long int AMA_MltvPnltrm(AMA_OPTIONS *options, double theta, long int porder, CNSPLA_SPLFUN *splfun)
Define penalty term on a multivariate spline.
Definition: AMA_Mltv.c:2012
long int AMA_MltvMonoInterp(AMA_OPTIONS *options, long int nind, long int n, double **x, double *z, long int *degree, AMA_SPLINE **spline)
Monotonic Interpolation of Multivariate Data
Definition: AMA_MltvMonoInterp.c:178
CNSPLA_SPLINE AMA_SPLINE
Definition: AMA.h:461
long int AMA_MltvGrdData(AMA_OPTIONS *options, const char *datfile, long int *nind, long int *degree, long int *ng, double ***x, double **z, double **epsilon, double **wht, double *theta, long int *mlamda, double ***lamda)
Read data and approximation options for AMA Spline Library Multivariate Gridded Data Functions...
Definition: AMA_Mltv.c:821
long int AMA_MltvInterp(AMA_OPTIONS *options, long int nind, long int n, double **x, double *z, long int *degree, AMA_SPLINE **spline)
Interpolation of Multivariate Data
Definition: AMA_MltvInterp.c:133
long int AMA_MltvConreg(AMA_OPTIONS *options, long int nind, long int n, double **x, double *z, double *epsilon, long int *degree, CNSPLA_SPLFUN *splfun)
Define monotonicity constraints on a multivariate spline.
Definition: AMA_Mltv.c:2311
long int AMA_MltvConpnt(AMA_OPTIONS *options, long int nind, long int n, double **x, double *z, double *epsilon, CNSPLA_SPLFUN *splfun)
Define approximation or interpolation constraints on a multivariate spline.
Definition: AMA_Mltv.c:2144
long int AMA_MltvGrdInterp(AMA_OPTIONS *options, long int nind, long int *ng, double **x, double *z, long int *degree, AMA_SPLINE **spline)
Interpolation of Multivariate Gridded Data
Definition: AMA_MltvGrdInterp.c:209
long int AMA_MltvDataFree(AMA_OPTIONS *options, long int nind, double ***x, double **z, double **epsilon, double **wht, double ***lamda)
Free Multivariate Data Functions data arrays.
Definition: AMA_Mltv.c:612
long int AMA_MltvInputCheck(AMA_OPTIONS *options, long int nind, long int n, double **x, double *z, double *wht, double *epsilon, long int *degree, long int *mlamda, double **lamda, enum AMA_Boolean lstsqr)
Perform input check for multivariate data approximation functions.
Definition: AMA_Mltv.c:1660
AMA_Boolean
This enumeration provides a boolean capability.
Definition: AMA.h:22