numpy.polynomial.polynomial.polyline(off, scl) [source]
Returns an array representing a linear polynomial.
| Parameters: |
|
|---|---|
| Returns: |
|
See also
chebline
>>> from numpy.polynomial import polynomial as P >>> P.polyline(1,-1) array([ 1, -1]) >>> P.polyval(1, P.polyline(1,-1)) # should be 0 0.0
© 2005–2019 NumPy Developers
Licensed under the 3-clause BSD License.
https://docs.scipy.org/doc/numpy-1.17.0/reference/generated/numpy.polynomial.polynomial.polyline.html