numpy.polynomial.legendre.legline

polynomial.legendre.legline(off, scl)[源代码]

勒让德级数,其图形是一条直线。

参数
关闭,SCL标量

指定的行由 off + scl*x .

返回
y恩达雷

本模块对勒让德级数的表示 off + scl*x .

实例

>>> import numpy.polynomial.legendre as L
>>> L.legline(3,2)
array([3, 2])
>>> L.legval(-3, L.legline(3,2)) # should be -3
-3.0