bsplin3val3d spline arbitrary derivative evaluation
function
Calling Sequence[dfp]=bsplin3val(xp,yp,zp,tl,der)Argumentsxp, yp, zpreal vectors or matrices of same sizetltlist of type "splin3d", defining a 3d tensor spline (called
s in the following)
der
vector with 3 components [ox,oy,oz]
defining which derivative of s to compute.
dfp
vector or matrix of same format than xp,
yp and zp, elementwise
evaluation of the specified derivative of s on
these points.
Description
While the function interp3d may
compute only the spline s and its first derivatives,
bsplin3val may compute any derivative of
s. The derivative to compute is specified by the
argument der=[ox,oy,oz] :
So der=[0 0 0] corresponds to
s, der=[1 0 0] to
ds/dx, der=[0 1 0] to
ds/dy, der=[1 1 0] to
d2s/dxdy, etc...
For a point with coordinates
(xp(i),yp(i),zp(i)) outside the grid, the function
returns 0.
ExamplesSee Also
splin3d
interp3d
History5.4.0previously, imaginary part of input arguments were implicitly ignored.