This is documentation for an old release of NumPy (version 1.7.0). Read this page in the documentation of the latest stable release (version > 1.17).
Chebyshev series whose graph is a straight line.
Parameters : | off, scl : scalars
|
---|---|
Returns : | y : ndarray
|
See also
polyline
Examples
>>> 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