Jpp  19.1.0
the software that should make you happy
JFunction1D_t.hh
Go to the documentation of this file.
1 #ifndef __JFUNCTION1D_T__
2 #define __JFUNCTION1D_T__
3 
4 #include "JTools/JElement.hh"
5 #include "JTools/JCollection.hh"
7 #include "JTools/JSpline.hh"
9 #include "JTools/JPolint.hh"
10 #include "JTools/JResult.hh"
11 
12 
13 /**
14  * \author mdejong
15  */
16 
17 namespace JTOOLS {}
18 namespace JPP { using namespace JTOOLS; }
19 
20 namespace JTOOLS {
21 
22 
23  /**
24  * Type definition of a spline interpolation based on a JGridCollection.
25  */
26  template<class JElement_t, class JDistance_t = JDistance<typename JElement_t::abscissa_type> >
28  public JSplineFunction1D<JElement_t, JGridCollection, JDistance_t>
29  {};
30 
31 
32  /**
33  * Type definition of a spline interpolation method based on a JCollection with double result type.
34  */
36  public JSplineFunction1D<JSplineElement2D<double, double>, JCollection, double>
37  {};
38 
39 
40  /**
41  * Type definition of a spline interpolation method based on a JCollection with JResultDerivative result type.
42  */
44  public JSplineFunction1D<JSplineElement2S<double, double>, JCollection, JResultDerivative<double> >
45  {};
46 
47 
48  /**
49  * Type definition of a spline interpolation method based on a JCollection with JResultPDF result type.
50  */
52  public JSplineFunction1D<JSplineElement2S<double, double>, JCollection, JResultPDF<double> >
53  {};
54 
55 
56  /**
57  * Type definition of a spline interpolation based on a JGridCollection with result type double.
58  */
60  public JSplineFunction1D<JSplineElement2D<double, double>, JGridCollection, double>
61  {};
62 
63 
64  /**
65  * Type definition of a spline interpolation based on a JGridCollection with JResultDerivative result type.
66  */
68  public JSplineFunction1D<JSplineElement2S<double, double>, JGridCollection, JResultDerivative<double> >
69  {};
70 
71 
72  /**
73  * Type definition of a spline interpolation based on a JGridCollection with JResultPDF result type.
74  */
76  public JSplineFunction1D<JSplineElement2S<double, double>, JGridCollection, JResultPDF<double> >
77  {};
78 
79 
80  /**
81  * Type definition of a spline interpolation based on a JGridCollection.
82  */
83  template<class JElement_t, class JDistance_t = JDistance<typename JElement_t::abscissa_type> >
85  public JHermiteSplineFunction1D<JElement_t, JGridCollection, JDistance_t>
86  {};
87 
88 
89  /**
90  * Type definition of a spline interpolation method based on a JCollection with double result type.
91  */
93  public JHermiteSplineFunction1D<JSplineElement2D<double, double>, JCollection, double>
94  {};
95 
96 
97  /**
98  * Type definition of a spline interpolation method based on a JCollection with JResultDerivative result type.
99  */
101  public JHermiteSplineFunction1D<JSplineElement2S<double, double>, JCollection, JResultDerivative<double> >
102  {};
103 
104 
105  /**
106  * Type definition of a spline interpolation method based on a JCollection with JResultPDF result type.
107  */
109  public JHermiteSplineFunction1D<JSplineElement2S<double, double>, JCollection, JResultPDF<double> >
110  {};
111 
112 
113  /**
114  * Type definition of a spline interpolation based on a JGridCollection with result type double.
115  */
117  public JHermiteSplineFunction1D<JSplineElement2D<double, double>, JGridCollection, double>
118  {};
119 
120 
121  /**
122  * Type definition of a spline interpolation based on a JGridCollection with JResultDerivative result type.
123  */
125  public JHermiteSplineFunction1D<JSplineElement2S<double, double>, JGridCollection, JResultDerivative<double> >
126  {};
127 
128 
129  /**
130  * Type definition of a zero degree polynomial interpolation.
131  */
132  template<class JElement_t, class JDistance_t = JDistance<typename JElement_t::abscissa_type> >
134  public JPolintFunction1D<0, JElement_t, JCollection, JDistance_t>
135  {};
136 
137 
138  /**
139  * Type definition of a 1st degree polynomial interpolation.
140  */
141  template<class JElement_t, class JDistance_t = JDistance<typename JElement_t::abscissa_type> >
143  public JPolintFunction1D<1, JElement_t, JCollection, JDistance_t>
144  {};
145 
146 
147  /**
148  * Type definition of a 2nd degree polynomial interpolation.
149  */
150  template<class JElement_t, class JDistance_t = JDistance<typename JElement_t::abscissa_type> >
152  public JPolintFunction1D<2, JElement_t, JCollection, JDistance_t>
153  {};
154 
155 
156  /**
157  * Type definition of a 3rd degree polynomial interpolation.
158  */
159  template<class JElement_t, class JDistance_t = JDistance<typename JElement_t::abscissa_type> >
161  public JPolintFunction1D<3, JElement_t, JCollection, JDistance_t>
162  {};
163 
164 
165  /**
166  * Polynomial interpolation method with result type double.
167  */
168  template<int N>
170  public JPolintFunction1D<N, JElement2D<double, double>, JCollection, double>
171  {};
172 
173 
174  /**
175  * Type definition of a zero degree polynomial interpolation with result type double.
176  */
178  public JPolintFunction1D_t<0>
179  {};
180 
181 
182  /**
183  * Type definition of a 1st degree polynomial interpolation with result type double.
184  */
186  public JPolintFunction1D_t<1>
187  {};
188 
189 
190  /**
191  * Type definition of a 2nd degree polynomial interpolation with result type double.
192  */
194  public JPolintFunction1D_t<2>
195  {};
196 
197 
198  /**
199  * Type definition of a 3rd degree polynomial interpolation with result type double.
200  */
202  public JPolintFunction1D_t<3>
203  {};
204 
205 
206  /**
207  * Polynomial interpolation method with result type JResultDerivative.
208  */
209  template<int N>
211  public JPolintFunction1D<N, JElement2D<double, double>, JCollection, JResultDerivative<double> >
212  {};
213 
214 
215  /**
216  * Type definition of a 1st degree polynomial interpolation with result type JResultDerivative.
217  */
219  public JPolintFunction1H_t<1>
220  {};
221 
222 
223  /**
224  * Type definition of a 2nd degree polynomial interpolation with result type JResultDerivative.
225  */
227  public JPolintFunction1H_t<2>
228  {};
229 
230 
231  /**
232  * Type definition of a 3rd degree polynomial interpolation with result type JResultDerivative.
233  */
235  public JPolintFunction1H_t<3>
236  {};
237 
238 
239  /**
240  * Polynomial interpolation method with result type JResultPDF.
241  */
242  template<int N>
244  public JPolintFunction1D<N, JPolintElement2S<double, double>, JCollection, JResultPDF<double> >
245  {};
246 
247 
248  /**
249  * Type definition of a 1st degree polynomial interpolation with result type JResultPDF.
250  */
252  public JPolintFunction1S_t<1>
253  {};
254 
255 
256  /**
257  * Type definition of a 2nd degree polynomial interpolation with result type JResultPDF.
258  */
260  public JPolintFunction1S_t<2>
261  {};
262 
263 
264  /**
265  * Type definition of a 3rd degree polynomial interpolation with result type JResultPDF.
266  */
268  public JPolintFunction1S_t<3>
269  {};
270 
271 
272  /**
273  * Polynomial interpolation method based on a JGridCollection with result type double.
274  */
275  template<int N>
277  public JPolintFunction1D<N, JElement2D<double, double>, JGridCollection, double>
278  {};
279 
280 
281  /**
282  * Type definition of a zero degree polynomial interpolation based on a JGridCollection with result type double.
283  */
285  public JGridPolintFunction1D_t<0>
286  {};
287 
288 
289  /**
290  * Type definition of a 1st degree polynomial interpolation based on a JGridCollection with result type double.
291  */
293  public JGridPolintFunction1D_t<1>
294  {};
295 
296 
297  /**
298  * Type definition of a 2nd degree polynomial interpolation based on a JGridCollection with result type double.
299  */
301  public JGridPolintFunction1D_t<2>
302  {};
303 
304 
305  /**
306  * Type definition of a 3rd degree polynomial interpolation based on a JGridCollection with result type double.
307  */
309  public JGridPolintFunction1D_t<3>
310  {};
311 
312 
313  /**
314  * Polynomial interpolation method based on a JGridCollection with result type JResultDerivative.
315  */
316  template<int N>
318  public JPolintFunction1D<N, JElement2D<double, double>, JGridCollection, JResultDerivative<double> >
319  {};
320 
321 
322  /**
323  * Type definition of a 1st degree polynomial interpolation with result type JResultDerivative.
324  */
326  public JGridPolintFunction1H_t<2>
327  {};
328 
329 
330 
331  /**
332  * Type definition of a 2nd degree polynomial interpolation with result type JResultDerivative.
333  */
335  public JGridPolintFunction1H_t<2>
336  {};
337 
338 
339  /**
340  * Type definition of a 3rd degree polynomial interpolation with result type JResultDerivative.
341  */
343  public JGridPolintFunction1H_t<3>
344  {};
345 
346 
347  /**
348  * Polynomial interpolation method with result type JResultPDF.
349  */
350  template<int N>
352  public JPolintFunction1D<N, JPolintElement2S<double, double>, JGridCollection, JResultPDF<double> >
353  {};
354 
355 
356  /**
357  * Type definition of a 1st degree polynomial interpolation with result type JResulPDF.
358  */
360  public JGridPolintFunction1S_t<1>
361  {};
362 
363 
364  /**
365  * Type definition of a 2nd degree polynomial interpolation with result type JResulPDF.
366  */
368  public JGridPolintFunction1S_t<2>
369  {};
370 
371 
372  /**
373  * Type definition of a 3rd degree polynomial interpolation with result type JResulPDF.
374  */
376  public JGridPolintFunction1S_t<3>
377  {};
378 }
379 
380 #endif
General purpose class for a collection of sorted elements.
The elements in a collection are sorted according to their abscissa values and a given distance opera...
This include file containes various data structures that can be used as specific return types for the...
Template class for spline interpolation in 1D.
Template class for polynomial interpolation in 1D.
Definition: JPolint.hh:1095
Template class for spline interpolation in 1D.
Definition: JSpline.hh:738
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary classes and methods for multi-dimensional interpolations and histograms.
Type definition of a spline interpolation based on a JGridCollection with result type double.
Type definition of a spline interpolation based on a JGridCollection.
Type definition of a spline interpolation based on a JGridCollection with JResultDerivative result ty...
Type definition of a zero degree polynomial interpolation based on a JGridCollection with result type...
Type definition of a 1st degree polynomial interpolation based on a JGridCollection with result type ...
Type definition of a 1st degree polynomial interpolation with result type JResultDerivative.
Type definition of a 1st degree polynomial interpolation with result type JResulPDF.
Type definition of a 2nd degree polynomial interpolation based on a JGridCollection with result type ...
Type definition of a 2nd degree polynomial interpolation with result type JResultDerivative.
Type definition of a 2nd degree polynomial interpolation with result type JResulPDF.
Type definition of a 3rd degree polynomial interpolation based on a JGridCollection with result type ...
Type definition of a 3rd degree polynomial interpolation with result type JResultDerivative.
Type definition of a 3rd degree polynomial interpolation with result type JResulPDF.
Polynomial interpolation method based on a JGridCollection with result type double.
Polynomial interpolation method based on a JGridCollection with result type JResultDerivative.
Polynomial interpolation method with result type JResultPDF.
Type definition of a spline interpolation based on a JGridCollection with result type double.
Type definition of a spline interpolation based on a JGridCollection.
Type definition of a spline interpolation based on a JGridCollection with JResultDerivative result ty...
Type definition of a spline interpolation based on a JGridCollection with JResultPDF result type.
Type definition of a spline interpolation method based on a JCollection with double result type.
Type definition of a spline interpolation method based on a JCollection with JResultDerivative result...
Type definition of a spline interpolation method based on a JCollection with JResultPDF result type.
Type definition of a zero degree polynomial interpolation with result type double.
Type definition of a zero degree polynomial interpolation.
Type definition of a 1st degree polynomial interpolation with result type double.
Type definition of a 1st degree polynomial interpolation.
Type definition of a 1st degree polynomial interpolation with result type JResultDerivative.
Type definition of a 1st degree polynomial interpolation with result type JResultPDF.
Type definition of a 2nd degree polynomial interpolation with result type double.
Type definition of a 2nd degree polynomial interpolation.
Type definition of a 2nd degree polynomial interpolation with result type JResultDerivative.
Type definition of a 2nd degree polynomial interpolation with result type JResultPDF.
Type definition of a 3rd degree polynomial interpolation with result type double.
Type definition of a 3rd degree polynomial interpolation.
Type definition of a 3rd degree polynomial interpolation with result type JResultDerivative.
Type definition of a 3rd degree polynomial interpolation with result type JResultPDF.
Polynomial interpolation method with result type double.
Polynomial interpolation method with result type JResultDerivative.
Polynomial interpolation method with result type JResultPDF.
Type definition of a spline interpolation method based on a JCollection with double result type.
Type definition of a spline interpolation method based on a JCollection with JResultDerivative result...
Type definition of a spline interpolation method based on a JCollection with JResultPDF result type.