scipy.interpolate.bisplev#
- bisplev(x, y, tck, dx=0, dy=0)[source]#
Evaluate a bivariate B-spline and its derivatives.
Return a rank-2 array of spline function values (or spline derivative values) at points given by the cross-product of the rank-1 arrays x and y. In special cases, return an array or just a float if either x or y or both are floats. Based on BISPEV and PARDER from FITPACK.
Parameters#
- x, yndarray
Rank-1 arrays specifying the domain over which to evaluate the spline or its derivative.
- tcktuple
A sequence of length 5 returned by bisplrep containing the knot locations, the coefficients, and the degree of the spline: [tx, ty, c, kx, ky].
- dx, dyint, optional
The orders of the partial derivatives in x and y respectively.
Returns#
- valsndarray
The B-spline or its derivative evaluated over the set formed by the cross-product of x and y.
See Also#
splprep, splrep, splint, sproot, splev UnivariateSpline, BivariateSpline
Notes#
See bisplrep to generate the tck representation.
References#
Examples#
Examples are given in the tutorial.