當前位置: 首頁>>代碼示例 >>用法及示例精選 >>正文


Python numpy chebyshev.chebmulx用法及代碼示例


本文簡要介紹 python 語言中 numpy.polynomial.chebyshev.chebmulx 的用法。

用法:

polynomial.chebyshev.chebmulx(c)

將切比雪夫級數乘以 x。

將多項式 c 乘以 x,其中 x 是自變量。

參數

c array_like

Chebyshev 級數係數的一維數組,從低到高排序。

返回

out ndarray

表示乘法結果的數組。

注意

例子

>>> from numpy.polynomial import chebyshev as C
>>> C.chebmulx([1,2,3])
array([1. , 2.5, 1. , 1.5])

相關用法


注:本文由純淨天空篩選整理自numpy.org大神的英文原創作品 numpy.polynomial.chebyshev.chebmulx。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。