本文簡要介紹 python 語言中 scipy.special.hyp0f1
的用法。
用法:
scipy.special.hyp0f1(v, z, out=None) = <ufunc 'hyp0f1'>#
匯合超幾何極限函數 0F1。
- v: array_like
實值參數
- z: array_like
實數或 complex-valued 參數
- out: ndarray,可選
函數結果的可選輸出數組
- 標量或 ndarray
匯合的超幾何極限函數
參數 ::
返回 ::
注意:
該函數定義為:
也是 的 的極限,滿足微分方程 。有關詳細信息,請參閱 [1]。
參考:
[1]Wolfram MathWorld,“匯合超幾何極限函數”,http://mathworld.wolfram.com/ConfluentHypergeometricLimitFunction.html
例子:
>>> import numpy as np >>> import scipy.special as sc
當 z 為零時為 1。
>>> sc.hyp0f1(1, 0) 1.0
當 q 趨於無窮大時,它是合流超幾何函數的極限。
>>> q = np.array([1, 10, 100, 1000]) >>> v = 1 >>> z = 1 >>> sc.hyp1f1(q, v, z / q) array([2.71828183, 2.31481985, 2.28303778, 2.27992985]) >>> sc.hyp0f1(v, z) 2.2795853023360673
它與貝塞爾函數有關。
>>> n = 1 >>> x = np.linspace(0, 1, 5) >>> sc.jv(n, x) array([0. , 0.12402598, 0.24226846, 0.3492436 , 0.44005059]) >>> (0.5 * x)**n / sc.factorial(n) * sc.hyp0f1(n + 1, -0.25 * x**2) array([0. , 0.12402598, 0.24226846, 0.3492436 , 0.44005059])
相關用法
- Python SciPy special.hyp1f1用法及代碼示例
- Python SciPy special.hyp2f1用法及代碼示例
- Python SciPy special.hyperu用法及代碼示例
- Python SciPy special.h1vp用法及代碼示例
- Python SciPy special.hankel1e用法及代碼示例
- Python SciPy special.hankel2e用法及代碼示例
- Python SciPy special.huber用法及代碼示例
- Python SciPy special.h2vp用法及代碼示例
- Python SciPy special.hermite用法及代碼示例
- Python SciPy special.exp1用法及代碼示例
- Python SciPy special.expn用法及代碼示例
- Python SciPy special.ncfdtri用法及代碼示例
- Python SciPy special.gamma用法及代碼示例
- Python SciPy special.y1用法及代碼示例
- Python SciPy special.y0用法及代碼示例
- Python SciPy special.ellip_harm_2用法及代碼示例
- Python SciPy special.i1e用法及代碼示例
- Python SciPy special.smirnovi用法及代碼示例
- Python SciPy special.ker用法及代碼示例
- Python SciPy special.ynp_zeros用法及代碼示例
- Python SciPy special.k0e用法及代碼示例
- Python SciPy special.j1用法及代碼示例
- Python SciPy special.logsumexp用法及代碼示例
- Python SciPy special.expit用法及代碼示例
- Python SciPy special.polygamma用法及代碼示例
注:本文由純淨天空篩選整理自scipy.org大神的英文原創作品 scipy.special.hyp0f1。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。