numpy.polynomial.chebyshev.chebline(off, scl)
[source]
Chebyshev series whose graph is a straight line.
Parameters: |
off, scl : scalars The specified line is given by |
---|---|
Returns: |
y : ndarray This module’s representation of the Chebyshev series for |
See also
polyline
>>> import numpy.polynomial.chebyshev as C >>> C.chebline(3,2) array([3, 2]) >>> C.chebval(-3, C.chebline(3,2)) # should be -3 -3.0
© 2008–2017 NumPy Developers
Licensed under the NumPy License.
https://docs.scipy.org/doc/numpy-1.12.0/reference/generated/numpy.polynomial.chebyshev.chebline.html