XeInterpolation Class Reference
Class for linear/parabolic interpolation.
More...
#include <XeMath.h>
List of all members.
Public Member Functions |
|
| XeInterpolation () |
| | Void constructor for ROOT.
|
|
| ~XeInterpolation () |
| | Destructor.
|
Static Public Member Functions |
| static double | exponential (double fraction, double y0, double y1) |
| | Exponential Interpolation from an internal fraction.
|
| static double | interpolate (int mode, double fraction, double y0, double y1) |
| | Interpolation from an internal fraction.
|
| static double | interpolate (int mode, double *x, double *y, int n, double value) |
| | general interpolation procedure
|
| static double | linear (double fraction, double y0, double y1) |
| | Linear Interpolation from an internal fraction.
|
| static double | linear (double *x, double *y, double value) |
| | linear interpolation between x0 and x1
|
| static double | linear (double *x, double *y, int n, double value) |
| | linear interpolation
|
| static double | parabolic (double *x, double *y, double value) |
| | parabolic interpolation between x0,x1,x2
|
| static double | parabolic (double *x, double *y, int n, double value) |
| | parabolic interpolation
|
Detailed Description
Class for linear/parabolic interpolation.
Member Function Documentation
| static double XeInterpolation::exponential |
( |
double |
fraction, |
|
|
double |
y0, |
|
|
double |
y1 | |
|
) |
| | [static] |
Exponential Interpolation from an internal fraction.
- Returns:
- Interpolated quantity
- Parameters:
-
| fraction | where between x0 (faction=0) and x1 (fraction=1) |
| y0 | value at x0 |
| y1 | value at x1 |
| static double XeInterpolation::interpolate |
( |
int |
mode, |
|
|
double |
fraction, |
|
|
double |
y0, |
|
|
double |
y1 | |
|
) |
| | [static] |
Interpolation from an internal fraction.
- Returns:
- Interpolated quantity
- Parameters:
-
| mode | LINEAR or EXPONENTIAL |
| fraction | where between x0 (faction=0) and x1 (fraction=1) |
| y0 | value at x0 |
| y1 | value at x1 |
| static double XeInterpolation::interpolate |
( |
int |
mode, |
|
|
double * |
x, |
|
|
double * |
y, |
|
|
int |
n, |
|
|
double |
value | |
|
) |
| | [static] |
general interpolation procedure
- Returns:
- Interpolated quantity
- Parameters:
-
| mode | LINEAR or PARABOLIC |
| x | table of x's |
| y | table of y's |
| n | size of input points |
| value | value at which interpolation is performed |
| static double XeInterpolation::linear |
( |
double |
fraction, |
|
|
double |
y0, |
|
|
double |
y1 | |
|
) |
| | [static] |
Linear Interpolation from an internal fraction.
- Returns:
- Interpolated quantity
- Parameters:
-
| fraction | where between x0 (faction=0) and x1 (fraction=1) |
| y0 | value at x0 |
| y1 | value at x1 |
| static double XeInterpolation::linear |
( |
double * |
x, |
|
|
double * |
y, |
|
|
double |
value | |
|
) |
| | [static] |
linear interpolation between x0 and x1
- Returns:
- Interpolated quantity
- Parameters:
-
| x | table of x0 and x1 |
| y | table of y0 and x1 |
| value | value at which interpolation is performed |
| static double XeInterpolation::linear |
( |
double * |
x, |
|
|
double * |
y, |
|
|
int |
n, |
|
|
double |
value | |
|
) |
| | [static] |
linear interpolation
- Returns:
- Interpolated quantity
- Parameters:
-
| x | table of x's |
| y | table of y's |
| n | size of input points |
| value | value at which interpolation is performed |
| static double XeInterpolation::parabolic |
( |
double * |
x, |
|
|
double * |
y, |
|
|
double |
value | |
|
) |
| | [static] |
parabolic interpolation between x0,x1,x2
- Returns:
- Interpolated quantity
- Parameters:
-
| x | table of x0, x1 and x2 |
| y | table of y0, y1, and y2 |
| n | size of input points |
| value | value at which interpolation is performed |
| static double XeInterpolation::parabolic |
( |
double * |
x, |
|
|
double * |
y, |
|
|
int |
n, |
|
|
double |
value | |
|
) |
| | [static] |
parabolic interpolation
- Returns:
- Interpolated quantity
- Parameters:
-
| x | table of x's |
| y | table of y's |
| n | size of input points |
| value | value at which interpolation is performed |
The documentation for this class was generated from the following file:
- /home/lellouch/Dropbox/Xenon/Xephyr/XeMath.h