diff
Return a tensor spline representing mixed partial derivatives.
Declaration
dspline = diff(self,derivativeOrders)
Parameters
selfTensorSpline instancederivativeOrdersderivative order per dimension
Returns
dsplineTensorSpline representing the derivative
Discussion
Use a scalar derivative order in 1-D or a derivative-order vector with one entry per dimension.
The implementation differentiates the tensor-product coefficients along each requested dimension and reduces the degree in those dimensions by the corresponding derivative orders.
dspline = diff(spline);
dFdx = diff(spline, [1 0]);