naginterfaces.library.fit.dim2_spline_ts_evalm¶
- naginterfaces.library.fit.dim2_spline_ts_evalm(xevalm, yevalm, comm)[source]¶
dim2_spline_ts_evalm
calculates a mesh of values of a spline computed bydim2_spline_ts_sctr()
.For full information please refer to the NAG Library document for e02jf
https://support.nag.com/numeric/nl/nagdoc_30.3/flhtml/e02/e02jff.html
- Parameters
- xevalmfloat, array-like, shape
The values forming the mesh on which the spline is to be evaluated.
- yevalmfloat, array-like, shape
The values forming the mesh on which the spline is to be evaluated.
- commdict, communication object
Communication structure.
This argument must have been initialized by prior calls to
dim2_spline_ts_sctr()
andopt_set()
.
- Returns
- fevalmfloat, ndarray, shape
If no exception or warning is raised on exit contains the computed spline value at .
- Raises
- NagValueError
- (errno )
On entry, .
Constraint: .
- (errno )
On entry, .
Constraint: .
- (errno )
Option arrays are not initialized or are corrupted.
- (errno )
The fitting routine has not been called, or the array of coefficients has been corrupted.
- (errno )
On entry, was outside the bounding box.
Constraint: for all .
- (errno )
On entry, was outside the bounding box.
Constraint: for all .
- Notes
dim2_spline_ts_evalm
calculates values on a rectangular mesh of a bivariate spline computed bydim2_spline_ts_sctr()
. 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.
- References
Davydov, O, Morandi, R and Sestini, A, 2006, Local hybrid approximation for scattered data fitting with bivariate splines, Comput. Aided Geom. Design (23), 703–721
Davydov, O, Sestini, A and Morandi, R, 2005, Local RBF approximation for scattered data fitting with bivariate splines, Trends and Applications in Constructive Approximation, M. G. de Bruin, D. H. Mache, and J. Szabados, Eds (ISNM Vol. 151), Birkhauser, 91–102
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
Farin, G and Hansford, D, 2000, The Essentials of CAGD, Natic, MA: A K Peters, Ltd.