scipy.interpolate.

bisplev#

scipy.interpolate.bisplev(x, y, tck, dx=0, dy=0)[source]#

評估雙變數 B-spline 及其導數。

傳回 rank-1 陣列 xy 的外積所給定點的 spline 函數值(或 spline 導數值)的 rank-2 陣列。在特殊情況下,如果 xy 或兩者都是浮點數,則傳回陣列或僅傳回浮點數。基於 FITPACK 的 BISPEV 和 PARDER。

參數:
x, yndarray

指定要評估 spline 或其導數的域的 Rank-1 陣列。

tcktuple

bisplrep 傳回的長度為 5 的序列,包含節點位置、係數和 spline 的次數:[tx, ty, c, kx, ky]。

dx, dyint, optional

分別為 xy 中的偏導數階數。

傳回值:
valsndarray

在由 xy 的外積形成的集合上評估的 B-spline 或其導數。

註解

請參閱 bisplrep 以產生 tck 表示法。

參考文獻

[1]

Dierckx P. : An algorithm for surface fitting with spline functions Ima J. Numer. Anal. 1 (1981) 267-283.

[2]

Dierckx P. : An algorithm for surface fitting with spline functions report tw50, Dept. Computer Science,K.U.Leuven, 1980.

[3]

Dierckx P. : Curve and surface fitting with splines, Monographs on Numerical Analysis, Oxford University Press, 1993.

範例

範例在本教學文件中提供。