WebCab XL Community Edition

Inter Class

This XL Service contains several methods for Interpolating and Extrapolating functions of 1 or 2 variables.

For a list of all members of this type, see Inter Members.

System.Object
   Inter

public class Inter

Remarks

We employ a range of approached include cubic splines, polynomial and rational interpolation for functions with 1 variable and bicubic splines for functions of 2 variables.

Continuously Differentiable Curves and Surfaces

For any tabulated function in 1 or 2 dimensions all of the these interpolation procedures will (for suitable choices of the parameters) produce continuously differential functions in a neighborhood around any point at which they exist. The differentiable nature of these curves and surfaces allows the application of methods from differential geometry to be applied to the study of these curves and surfaces.

Introduction to Interpolation/Extrapolation

functions from discrete data points. We consider here the problem of constructing a curve form a

Detailed Overview of the Functionality Offered within this XL Service

Within this XL Service we consider the problem of approximating a function in 1 or 2 variables which is known on a discrete data set with a function which is continuously differentiable in a neighborhood of all points at which it exists. Below we list in sections corresponding to each of the generic types of interpolation function the business methods which are contained within this XL Service.

Cubic Interpolation of Variables (i.e. cubic splines)

  1. CubicSpline2ndDifferential - Calculates the second derivatives of the cubic spline interpolation polynomial at the tabulation points.
  2. CubicSplinePointwisePreEvaluation - Evaluates the cubic spline interpolation of a function at a point when the 2nd differentials at the tabulation points are known.
  3. CubicSplinePointwise - Calculates the value of the cubic spline interpolation when the end point derivatives are known.

Interpolation Polynomial of One Variable

  1. InterpolateExtrapolatePolynomial - Interpolates a tabulated function known at n points with a polynomial of degree n-1
  2. CoefficientsInterpolatingPolynomialStable - A stable (and slower) means by which to evaluate the coefficients of the interpolating polynomial of 1 variable when the tabulation points are known.
  3. CoefficientsInterpolatingPolynomial - A fast (and less stable) means by which to evaluate the coefficients of the interpolating polynomial of 1 variable when the tabulation points are known.

Rational Function Interpolation of one variable

  1. RationalInterpolationExtrapolation - Evaluates the value and the corresponding error estimate at a given point of the rational interpolation function.

Evaluation of the Bicubic interpolation function of two variables

  1. BicubicCoefficients - Calculates the coefficients for the bicubic interpolation polynomial.
  2. BicubicInterpolation(double[], ...) - Evaluates the value of the bicubic interpolation polynomial at a point and the derivatives in the directions of the grid.
  3. BicubicInterpolation(double[][], ...) - Evaluates the values of the bicubic interpolation polynomial at a point and the derivatives in the directions of the grid when its coefficients are known.
  4. BicubicSplinePointwiseEvaluation - Evaluation of an arbitrary point on a bicubic interpolation function.
  5. BicubicSplinePointwiseEvaluationPreEvaluation - Uses exactly the same approach as BicubicSplinePointwiseEvaluation, except that it allows the 2nd differentials to be pre-evaluated using InterpolationFunction2ndDerivative. By pre-evaluating the 2nd differentials will lead to more efficient executions when two or more points of the bicubic interpolation function are desired.
  6. InterpolationFunction2ndDerivative - Utility function used in conjunction with BicubicSplinePointwiseEvaluationPreEvaluation to efficiently evaluate many points on the bicubic interpolation function.

Requirements

Namespace: Interpolation

Assembly: XMLDoc (in XMLDoc.dll)

See Also

Inter Members | Interpolation Namespace