本文簡要介紹 python 語言中 scipy.special.sindg
的用法。
用法:
scipy.special.sindg(x, out=None) = <ufunc 'sindg'>#
以度數給出的角度 x 的正弦值。
- x: array_like
角度,以度為單位。
- out: ndarray,可選
函數結果的可選輸出數組。
- 標量或 ndarray
正弦輸入。
參數 ::
返回 ::
例子:
>>> import numpy as np >>> import scipy.special as sc
它比直接使用正弦更準確。
>>> x = 180 * np.arange(3) >>> sc.sindg(x) array([ 0., -0., 0.]) >>> np.sin(x * np.pi / 180) array([ 0.0000000e+00, 1.2246468e-16, -2.4492936e-16])
相關用法
- Python SciPy special.sinc用法及代碼示例
- Python SciPy special.sici用法及代碼示例
- Python SciPy special.smirnovi用法及代碼示例
- Python SciPy special.seterr用法及代碼示例
- Python SciPy special.shichi用法及代碼示例
- Python SciPy special.smirnov用法及代碼示例
- Python SciPy special.stdtr用法及代碼示例
- Python SciPy special.softmax用法及代碼示例
- Python SciPy special.stdtridf用法及代碼示例
- Python SciPy special.spherical_kn用法及代碼示例
- Python SciPy special.spherical_yn用法及代碼示例
- Python SciPy special.struve用法及代碼示例
- Python SciPy special.spherical_in用法及代碼示例
- Python SciPy special.spherical_jn用法及代碼示例
- Python SciPy special.stirling2用法及代碼示例
- Python SciPy special.spence用法及代碼示例
- Python SciPy special.stdtrit用法及代碼示例
- 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用法及代碼示例
注:本文由純淨天空篩選整理自scipy.org大神的英文原創作品 scipy.special.sindg。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。