WebCab Functions Web Services for .NET v2.0

Interpolation Class

Offers several procedures for the Interpolating and Extrapolating functions of 1 or 2 variables.

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

System.Object
   Interpolation

public class Interpolation

Remarks

That is, we offer a range of approaches by which a tabulated function can be interpolated including cubic splines, polynomial and rational interpolation for functions with 1 variable and bicubic splines for functions of 2 variables.

Functionality Offered within this XML Web service

Within this XML Web service we consider the problem of approximating a function of 1 or 2 real 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 XML Web 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: WebCab.Functions (in WebCab.Functions.dll)

See Also

Interpolation Members | Interpolation Namespace