IMSL C# Numerical Library

Spline2D.Derivative Method (Double[], Double[], Int32, Int32)

Returns the values of the partial derivative of the tensor-product spline of an array of points.

public virtual double[,] Derivative(
   double[] xVec,
   double[] yVec,
   int xPartial,
   int yPartial
);

Parameters

xVec
A double array specifying the x-coordinates at which the spline is to be evaluated.
yVec
A double array specifying the y-coordinates at which the spline is to be evaluated.
xPartial
An int scalar specifying the x-partial derivative.
yPartial
An int scalar specifying the y-partial derivative.

Return Value

An xVec.Length by yVec.Length double matrix containing the values of the partial derivatives

\frac{{\partial ^{i + j} s}}{{\partial ^i x\,\,\partial ^j y}}
where i = xPartial and j = yPartial, at each (x, y).

See Also

Spline2D Class | Imsl.Math Namespace | Spline2D.Derivative Overload List