bundles / numpy 2.5.0.dev0+git20251130.2de293a / numpy / polynomial / chebyshev / Chebyshev / interpolate
classmethod
numpy.polynomial.chebyshev:Chebyshev.interpolate
source: build-install/usr/lib/python3.14/site-packages/numpy/polynomial/chebyshev.py :1958
Summary
Interpolate a function at the Chebyshev points of the first kind.
Extended Summary
Returns the series that interpolates func at the Chebyshev points of the first kind scaled and shifted to the domain. The resulting series tends to a minmax approximation of func when the function is continuous in the domain.
Parameters
func: functionThe function to be interpolated. It must be a function of a single variable of the form
f(x, a, b, c...), wherea, b, c...are extra arguments passed in the args parameter.deg: intDegree of the interpolating polynomial.
domain: {None, [beg, end]}, optionalDomain over which func is interpolated. The default is None, in which case the domain is [-1, 1].
args: tuple, optionalExtra arguments to be used in the function call. Default is no extra arguments.
Returns
polynomial: Chebyshev instanceInterpolating Chebyshev instance.
Notes
See numpy.polynomial.chebinterpolate for more details.
Aliases
-
numpy.polynomial.Chebyshev.interpolate