Public Member Functions | |
| O5Interpolation (double[] xarr, double[] yarr) throws IllegalArgumentException | |
| Constructs the interpolator. | |
| double | interpolate (double x, int componentIndex) |
| Interpolates the data points at coordinate x. | |
| double | integrateSection (int k, int componentIndex) |
| Integrates the area under the interpolated function between two neighboring data points. | |
Static Public Member Functions | |
| static void | main (String[] args) throws Exception |
| gridripper::math::O5Interpolation::O5Interpolation | ( | double[] | xarr, | |
| double[] | yarr | |||
| ) | throws IllegalArgumentException [inline] |
Constructs the interpolator.
The size of the y coordinate array must be equal to or nc times the x array size, where nc is the number of components (usually 1).
| xarr | the array of x coordinates | |
| yarr | the array of y coordinates |
| double gridripper::math::O5Interpolation::interpolate | ( | double | x, | |
| int | componentIndex | |||
| ) | [inline] |
Interpolates the data points at coordinate x.
| x | the x coordinate | |
| componentIndex | the index of the component to integrate |
| double gridripper::math::O5Interpolation::integrateSection | ( | int | k, | |
| int | componentIndex | |||
| ) | [inline] |
Integrates the area under the interpolated function between two neighboring data points.
| k | the index of the section to integrate, i.e. the index of its first point | |
| componentIndex | the index of the component to integrate |
1.5.6