本文簡要介紹 python 語言中 scipy.interpolate.KroghInterpolator.derivatives
的用法。
用法:
KroghInterpolator.derivatives(x, der=None)#
計算多項式在 x 點的幾個導數
生成在點 x 處計算的導數數組。
- x: array_like
評估導數的一個或多個點
- der: int 或列表或無,可選
要評估多少個導數,或者對於所有潛在的非零導數為“無”(即,等於點數的數字),或者要評估的導數列表。該數字包括作為 ‘0th’ 導數的函數值。
- d: ndarray
具有導數的數組;
d[j]
包含第 j 個導數。的形狀d[j]
通過將原始數組中的插值軸替換為以下形狀來確定x.
參數 ::
返回 ::
例子:
>>> from scipy.interpolate import KroghInterpolator >>> KroghInterpolator([0,0,0],[1,2,3]).derivatives(0) array([1.0,2.0,3.0]) >>> KroghInterpolator([0,0,0],[1,2,3]).derivatives([0,0]) array([[1.0,1.0], [2.0,2.0], [3.0,3.0]])
相關用法
- Python SciPy KDTree.query_pairs用法及代碼示例
- Python SciPy KDTree.sparse_distance_matrix用法及代碼示例
- Python SciPy KDTree.query_ball_tree用法及代碼示例
- Python SciPy KDTree.query_ball_point用法及代碼示例
- Python SciPy KDTree.count_neighbors用法及代碼示例
- Python SciPy KDTree.query用法及代碼示例
- Python SciPy interpolate.make_interp_spline用法及代碼示例
- Python SciPy stats.anderson用法及代碼示例
- Python SciPy ClusterNode.pre_order用法及代碼示例
- Python SciPy stats.iqr用法及代碼示例
- Python SciPy FortranFile.read_record用法及代碼示例
- Python SciPy ndimage.correlate用法及代碼示例
- Python SciPy special.exp1用法及代碼示例
- Python SciPy special.expn用法及代碼示例
- Python SciPy signal.czt_points用法及代碼示例
- Python SciPy interpolate.krogh_interpolate用法及代碼示例
- Python SciPy ndimage.morphological_gradient用法及代碼示例
- Python SciPy distance.sokalmichener用法及代碼示例
- Python SciPy linalg.eigvalsh_tridiagonal用法及代碼示例
- Python SciPy linalg.cdf2rdf用法及代碼示例
- Python SciPy csc_array.diagonal用法及代碼示例
- Python SciPy fft.idctn用法及代碼示例
- Python SciPy linalg.LaplacianNd用法及代碼示例
- Python SciPy linalg.solve_circulant用法及代碼示例
- Python SciPy hierarchy.ward用法及代碼示例
注:本文由純淨天空篩選整理自scipy.org大神的英文原創作品 scipy.interpolate.KroghInterpolator.derivatives。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。