# naginterfaces.library.fit.dim2_​spline_​evalv¶

naginterfaces.library.fit.dim2_spline_evalv(x, y, lamda, mu, c)[source]

dim2_spline_evalv calculates values of a bicubic spline from its B-spline representation.

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

https://www.nag.com/numeric/nl/nagdoc_29/flhtml/e02/e02def.html

Parameters
xfloat, array-like, shape

and must contain and , for , respectively. These are the coordinates of the points at which values of the spline are required. The order of the points is immaterial.

yfloat, array-like, shape

and must contain and , for , respectively. These are the coordinates of the points at which values of the spline are required. The order of the points is immaterial.

lamdafloat, array-like, shape

and must contain the complete sets of knots and associated with the and variables respectively.

mufloat, array-like, shape

and must contain the complete sets of knots and associated with the and variables respectively.

cfloat, array-like, shape

must contain the coefficient described in Notes, for , for .

Returns
fffloat, ndarray, shape

contains the value of the spline at the point , for .

Raises
NagValueError
(errno )

On entry, .

Constraint: .

(errno )

On entry, .

Constraint: .

(errno )

On entry, .

Constraint: .

(errno )

On entry, the knots in are not in nondecreasing order.

(errno )

On entry, the knots in are not in nondecreasing order.

(errno )

On entry, point lies outside the rectangle bounded by , , , : , and .

Notes

dim2_spline_evalv calculates values of the bicubic spline at prescribed points , for , from its augmented knot sets and and from the coefficients , for , for , in its B-spline representation
This function may be used to calculate values of a bicubic spline given in the form produced by interp.dim2_spline_grid, dim2_spline_panel(), dim2_spline_grid() and dim2_spline_sctr(). It is derived from the function B2VRE in Anthony et al. (1982).