本文簡要介紹 python 語言中 numpy.polynomial.hermite_e.hermeroots
的用法。
用法:
polynomial.hermite_e.hermeroots(c)
計算 HermiteE 係列的根。
返回多項式的根 (a.k.a. “zeros”)
- c: 一維 數組
一維係數數組。
- out: ndarray
係列的根數組。如果所有的根都是實數,那麽 out 也是實數,否則就是複數。
參數:
返回:
注意:
根估計是作為伴生矩陣的特征值獲得的,由於這些值的序列的數值不穩定性,遠離複平麵原點的根可能有很大的誤差。重數大於 1 的根也將顯示較大的誤差,因為這些點附近的序列值對根中的誤差相對不敏感。可以通過牛頓方法的幾次迭代來改進原點附近的孤立根。
HermiteE 係列基多項式不是 x 的冪,因此該函數的結果可能看起來不直觀。
例子:
>>> from numpy.polynomial.hermite_e import hermeroots, hermefromroots >>> coef = hermefromroots([-1, 0, 1]) >>> coef array([0., 2., 0., 1.]) >>> hermeroots(coef) array([-1., 0., 1.]) # may vary
相關用法
- Python numpy hermite_e.hermediv用法及代碼示例
- Python numpy hermite_e.hermefromroots用法及代碼示例
- Python numpy hermite_e.hermeline用法及代碼示例
- Python numpy hermite_e.hermeint用法及代碼示例
- Python numpy hermite_e.hermeadd用法及代碼示例
- Python numpy hermite_e.hermevander用法及代碼示例
- Python numpy hermite_e.hermepow用法及代碼示例
- Python numpy hermite_e.hermetrim用法及代碼示例
- Python numpy hermite_e.hermezero用法及代碼示例
- Python numpy hermite_e.hermex用法及代碼示例
- Python numpy hermite_e.hermemulx用法及代碼示例
- Python numpy hermite_e.hermeone用法及代碼示例
- Python numpy hermite_e.hermeval用法及代碼示例
- Python numpy hermite_e.hermesub用法及代碼示例
- Python numpy hermite_e.hermefit用法及代碼示例
- Python numpy hermite_e.hermedomain用法及代碼示例
- Python numpy hermite_e.herme2poly用法及代碼示例
- Python numpy hermite_e.hermeder用法及代碼示例
- Python numpy hermite_e.hermemul用法及代碼示例
- Python numpy hermite_e.poly2herme用法及代碼示例
- Python numpy hermite.hermfromroots用法及代碼示例
- Python numpy hermite.hermline用法及代碼示例
- Python numpy hermite.hermpow用法及代碼示例
- Python numpy hermite.hermx用法及代碼示例
- Python numpy hermite.hermmul用法及代碼示例
注:本文由純淨天空篩選整理自numpy.org大神的英文原創作品 numpy.polynomial.hermite_e.hermeroots。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。