This is a pre-release version (2.5.0.dev0+git20251130.2de293a). Go to latest (2.4.4)
{ } Raw JSON

bundles / numpy 2.5.0.dev0+git20251130.2de293a / numpy / polynomial / chebyshev / chebline

function

numpy.polynomial.chebyshev:chebline

source: build-install/usr/lib/python3.14/site-packages/numpy/polynomial/chebyshev.py :474

Signature

def   chebline ( off scl )

Summary

Chebyshev series whose graph is a straight line.

Parameters

off, scl : scalars

The specified line is given by off + scl*x.

Returns

y : ndarray

This module's representation of the Chebyshev series for off + scl*x.

Examples

import numpy.polynomial.chebyshev as C
C.chebline(3,2)
C.chebval(-3, C.chebline(3,2)) # should be -3

See also

numpy.polynomial.hermite.hermline
numpy.polynomial.hermite_e.hermeline
numpy.polynomial.laguerre.lagline
numpy.polynomial.legendre.legline
numpy.polynomial.polynomial.polyline

Aliases

  • numpy.polynomial.Chebyshev._line
  • numpy.polynomial.chebyshev.chebline