scipy.special.ber#

scipy.special.ber(x, out=None) = <ufunc 'ber'>#

克耳文函數 ber。

定義為

\[\mathrm{ber}(x) = \Re[J_0(x e^{3 \pi i / 4})]\]

其中 \(J_0\) 是第一類零階貝索函數(參見 jv)。詳情請參見 [dlmf]

參數:
xarray_like

實數引數。

outndarray, optional

函數結果的選用輸出陣列。

回傳值:
純量或 ndarray

克耳文函數的值。

另請參閱

bei

對應的實部

berp

bei 的導數

jv

第一類貝索函數

參考文獻

[dlmf]

NIST, Digital Library of Mathematical Functions, https://dlmf.nist.gov/10.61

範例

它可以使用貝索函數表示。

>>> import numpy as np
>>> import scipy.special as sc
>>> x = np.array([1.0, 2.0, 3.0, 4.0])
>>> sc.jv(0, x * np.exp(3 * np.pi * 1j / 4)).real
array([ 0.98438178,  0.75173418, -0.22138025, -2.56341656])
>>> sc.ber(x)
array([ 0.98438178,  0.75173418, -0.22138025, -2.56341656])