IMSL C# Numerical Library

Spline2DInterpolate Constructor (Double[], Double[], Double[,], Int32, Int32, Double[], Double[])

Constructor for Spline2DInterpolate.

public Spline2DInterpolate(
   double[] xData,
   double[] yData,
   double[,] fData,
   int xOrder,
   int yOrder,
   double[] xKnots,
   double[] yKnots
);

Parameters

xData
A double array containing the data points in the x-direction.
yData
A double array containing the data points in the y-direction.
fData
A double matrix of size xData.Length by yData.Length containing the values to be interpolated.
xOrder
An int scalar value specifying the order of the spline in the x-direction. xOrder must be at least 1. By default, xOrder = 4, tensor-product cubic spline.
yOrder
An int scalar value specifying the order of the spline in the y-direction. yOrder must be at least 1. By default, yOrder = 4, tensor-product cubic spline.
xKnots
A double array of size xData.Length + xOrder specifying the knot sequences of the spline in the x-direction. By default, knot sequences are selected by the class.
yKnots
A double array of size yData.Length + yOrder specifying the knot sequences of the spline in the y-direction. By default, knot sequences are selected by the class.

See Also

Spline2DInterpolate Class | Imsl.Math Namespace | Spline2DInterpolate Constructor Overload List