ROOT
6.08/07
Reference Guide
math
mathmore
inc
Math
InterpolationTypes.h
Go to the documentation of this file.
1
// @(#)root/mathmore:$Id$
2
// Authors: L. Moneta, A. Zsenei 08/2005
3
4
/**********************************************************************
5
* *
6
* Copyright (c) 2004 ROOT Foundation, CERN/PH-SFT *
7
* *
8
* This library is free software; you can redistribute it and/or *
9
* modify it under the terms of the GNU General Public License *
10
* as published by the Free Software Foundation; either version 2 *
11
* of the License, or (at your option) any later version. *
12
* *
13
* This library is distributed in the hope that it will be useful, *
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
16
* General Public License for more details. *
17
* *
18
* You should have received a copy of the GNU General Public License *
19
* along with this library (see file COPYING); if not, write *
20
* to the Free Software Foundation, Inc., 59 Temple Place, Suite *
21
* 330, Boston, MA 02111-1307 USA, or contact the author. *
22
* *
23
**********************************************************************/
24
25
// Header file for class InterpolationTypes
26
//
27
// Created by: moneta at Fri Nov 26 15:40:58 2004
28
//
29
// Last update: Fri Nov 26 15:40:58 2004
30
//
31
#ifndef ROOT_Math_InterpolationTypes
32
#define ROOT_Math_InterpolationTypes
33
34
35
namespace
ROOT
{
36
namespace
Math
{
37
38
39
namespace
Interpolation {
40
41
/**
42
Enumeration defining the types of interpolation methods availables.
43
Passed as argument to instantiate mathlib::Interpolator objects.
44
The types available are (more information is available in the
45
<A HREF="http://www.gnu.org/software/gsl/manual/html_node/Interpolation-Types.html">GSL manual</A>):
46
<ul>
47
<li>LINEAR interpolation;
48
<li>POLYNOMIAL interpolation, to be used for small number of points since introduces large oscillations;
49
<li>CSPLINE cubic spline with natural boundary conditions;
50
<li>CSPLINE_PERIODIC cubic spline with periodic boundary conditions;
51
<li>AKIMA, Akima spline with natural boundary conditions ( requires a minimum of 5 points);
52
<li>AKIMA_PERIODIC, Akima spline with periodic boundaries ( requires a minimum of 5 points);
53
</ul>
54
55
56
@ingroup Interpolation
57
*/
58
59
// enumerations for the type of interpolations
60
enum
Type
{
kLINEAR
,
61
kPOLYNOMIAL
,
62
kCSPLINE
,
63
kCSPLINE_PERIODIC
,
64
kAKIMA
,
65
kAKIMA_PERIODIC
66
};
67
}
68
69
70
}
// namespace Math
71
}
// namespace ROOT
72
73
#endif
/* ROOT_Math_InterpolationTypes */
ROOT::Math::Interpolation::kCSPLINE_PERIODIC
Definition:
InterpolationTypes.h:63
ROOT
This namespace contains pre-defined functions to be used in conjuction with TExecutor::Map and TExecu...
Definition:
StringConv.hxx:21
ROOT::Math::Interpolation::kLINEAR
Definition:
InterpolationTypes.h:60
ROOT::Math::Interpolation::kPOLYNOMIAL
Definition:
InterpolationTypes.h:61
ROOT::Math::Interpolation::kAKIMA
Definition:
InterpolationTypes.h:64
ROOT::Math::Interpolation::Type
Type
Enumeration defining the types of interpolation methods availables.
Definition:
InterpolationTypes.h:60
ROOT::Math::Interpolation::kAKIMA_PERIODIC
Definition:
InterpolationTypes.h:65
Math
Namespace for new Math classes and functions.
ROOT::Math::Interpolation::kCSPLINE
Definition:
InterpolationTypes.h:62