parameters: (off, scl)
docstring: 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``.
  
      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
docstring_summary: Chebyshev series whose graph is a straight line.
docstring_tokens: Chebyshev series whose graph is a straight line .
function: def chebline(off, scl):
      """
      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``.
  
      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
  
      """
      if scl != 0:
          return np.array([off, scl])
      else:
          return np.array([off])
function_tokens: def chebline ( off , scl ) : if scl != 0 : return np . array ( [ off , scl ] ) else : return np . array ( [ off ] )