This rank-2 array function returns a tensor product array result, given two arrays of independent variable values. Use the optional input argument for the covariance matrix when the square root of the variance function is evaluated. The result will be a scalar value when the input independent variable is scalar.
derivative
= derivative(1:2) (Input)
The indices of the partial derivative
evaluated. Use non-negative integer values. For the function itself
use the array (/0,0/).
variablesx
= variablesx (Input)
The
independent variable values in the first or dimension where the spline
or its derivatives are evaluated. Either a rank-1 array or a scalar can be
used as this argument.
variablesy
= variablesy (Input)
The independent variable values in the second
or dimension where
the spline or its derivatives are evaluated. Either a rank-1 array or a
scalar can be used as this argument.
knotsx
= knotsx (Input)
The derived type ?_spline_knots, used
when the array coeffs(:,:)was
obtained with the function SURFACE_FITTING.
This contains the polynomial spline degree and the number of knots and the knots
themselves, in the x dimension.
knotsy
= knotsy (Input)
The derived type ?_spline_knots, used when the array
coeffs(:,:) was
obtained with the function SURFACE_FITTING.
This contains the polynomial spline degree and the number of knots and the knots
themselves, in the y dimension.
coeffs
= c (Input)
The coefficients in the representation for the
spline function,
These
result from the fitting process or array assignment C=SURFACE_FITTING(...),
defined below.
The values M = size (C,1) and
N = size (C,2) satisfies the respective identities
N -1 + spline_degree = size (?_knotsx), and
M -1 + spline_degree = size (?_knotsy) , where
the two right-most quantities in both equations refer to components of the
arguments knotsx
and knotsy. The same
value of spline_degree must be used for both knotsx and
knotsy.
covariance
= G (Input)
This argument, when present, results in the
evaluation of the square root of the variance function
where
and G is the covariance matrix associated with the coefficients of the spline
The argument G is an optional output from SURFACE_FITTING, described below. When the square root of the variance function is computed, the arguments DERIVATIVE and C are not used.
iopt
= iopt (Input)
This optional argument, of derived type ?_options, is not used in this
release.
Generic: CALL SURFACE_VALUES (DERIVATIVE, VARIABLESX, VARIABLESY, KNOTSX, KNOTSY, COEFFS [,…])
Specific: The specific interface names are S_SURFACE_VALUES and D_SURFACE_VALUES.
Visual Numerics, Inc. PHONE: 713.784.3131 FAX:713.781.9260 |