本文簡要介紹 python 語言中 numpy.polynomial.laguerre.lagmul
的用法。
用法:
polynomial.laguerre.lagmul(c1, c2)
將一個拉蓋爾係列乘以另一個。
返回兩個 Laguerre 係列的乘積c1*c2。參數是係數序列,從最低階 “term” 到最高階,例如,[1,2,3] 表示序列
P_0 + 2*P_1 + 3*P_2
.- c1, c2: array_like
拉蓋爾級數係數的一維數組從低到高排序。
- out: ndarray
代表其乘積的拉蓋爾級數係數。
參數:
返回:
注意:
通常,兩個C-series 的(多項式)乘積導致不在拉蓋爾多項式基組中的項。因此,要將乘積表示為拉蓋爾級數,需要將乘積“reproject”放到所述基組上,這可能會產生“unintuitive”(但正確)的結果;請參閱下麵的示例部分。
例子:
>>> from numpy.polynomial.laguerre import lagmul >>> lagmul([1, 2, 3], [0, 1, 2]) array([ 8., -13., 38., -51., 36.])
相關用法
- Python numpy laguerre.lagmulx用法及代碼示例
- Python numpy laguerre.lagone用法及代碼示例
- Python numpy laguerre.lagdomain用法及代碼示例
- Python numpy laguerre.lagzero用法及代碼示例
- Python numpy laguerre.lagdiv用法及代碼示例
- Python numpy laguerre.lagx用法及代碼示例
- Python numpy laguerre.lagval用法及代碼示例
- Python numpy laguerre.lagvander用法及代碼示例
- Python numpy laguerre.lagroots用法及代碼示例
- Python numpy laguerre.lagfromroots用法及代碼示例
- Python numpy laguerre.lagpow用法及代碼示例
- Python numpy laguerre.lag2poly用法及代碼示例
- Python numpy laguerre.lagder用法及代碼示例
- Python numpy laguerre.lagsub用法及代碼示例
- Python numpy laguerre.lagadd用法及代碼示例
- Python numpy laguerre.lagtrim用法及代碼示例
- Python numpy laguerre.lagline用法及代碼示例
- Python numpy laguerre.lagfit用法及代碼示例
- Python numpy laguerre.lagint用法及代碼示例
- Python numpy laguerre.poly2lag用法及代碼示例
- Python numpy legendre.legint用法及代碼示例
- Python numpy linalg.svd用法及代碼示例
- Python numpy linalg.pinv用法及代碼示例
- Python numpy logaddexp用法及代碼示例
- Python numpy linalg.eigh用法及代碼示例
注:本文由純淨天空篩選整理自numpy.org大神的英文原創作品 numpy.polynomial.laguerre.lagmul。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。