naginterfaces.library.fit.dim2_​spline_​ts_​evalv

naginterfaces.library.fit.dim2_spline_ts_evalv(xevalv, yevalv, comm)[source]

dim2_spline_ts_evalv calculates a vector of values of a spline computed by dim2_spline_ts_sctr().

For full information please refer to the NAG Library document for e02je

https://support.nag.com/numeric/nl/nagdoc_30/flhtml/e02/e02jef.html

Parameters
xevalvfloat, array-like, shape

The values at which the spline is to be evaluated.

yevalvfloat, array-like, shape

The values at 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() and opt_set().

Returns
fevalvfloat, ndarray, shape

If no exception or warning is raised on exit contains the computed spline value at .

Raises
NagValueError
(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_evalv calculates values at prescribed points , for , of a bivariate spline computed by dim2_spline_ts_sctr(). It 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.