nag_2d_spline_ts_eval_rect (e02jfc) calculates a mesh of values of a spline computed by
nag_2d_spline_fit_ts_scat (e02jdc).
nag_2d_spline_ts_eval_rect (e02jfc) calculates values on a rectangular mesh of a bivariate spline computed by
nag_2d_spline_fit_ts_scat (e02jdc). The points in the mesh are defined by
coordinates (
), for
, and
coordinates (
), for
. This function is derived from the TSFIT package of O. Davydov and F. Zeilfelder.
Davydov O and Zeilfelder F (2004) Scattered data fitting by direct extension of local polynomials to bivariate splines Advances in Comp. Math. 21 223–271
- NE_ALLOC_FAIL
-
Dynamic memory allocation failed.
- NE_BAD_PARAM
-
On entry, argument had an illegal value.
- NE_INITIALIZATION
-
Option arrays are not initialized or are corrupted.
- NE_INT
-
On entry, .
Constraint: .
On entry, .
Constraint: .
- NE_INTERNAL_ERROR
-
An internal error has occurred in this function. Check the function call and any array sizes. If the call is correct then please contact
NAG for assistance.
- NE_INVALID_SPLINE
-
The fitting routine has not been called, or the array of coefficients has been corrupted.
- NE_POINT_OUTSIDE_RECT
-
On entry, was outside the bounding box.
Constraint: for all .
On entry, was outside the bounding box.
Constraint: for all .
nag_2d_spline_ts_eval_rect (e02jfc) uses the de Casteljau algorithm and thus is numerically stable. See
Farin and Hansford (2000) for details.
nag_2d_spline_ts_eval_rect (e02jfc) is threaded by NAG for parallel execution in multithreaded implementations of the NAG Library.
Please consult the
Users' Note for your implementation for any additional implementation-specific information.
See
Section 10 in nag_2d_spline_fit_ts_scat (e02jdc).