parameters: (zs)
return_statement: return c
docstring: Covert z-series to a Chebyshev series.
  
      Covert a z series to the equivalent Chebyshev series. The result is
      never an empty array. The dtype of the return is the same as that of
      the input. No checks are run on the arguments as this routine is for
      internal use.
  
      Parameters
      ----------
      zs : 1-D ndarray
          Odd length symmetric z-series, ordered from  low to high.
  
      Returns
      -------
      c : 1-D ndarray
          Chebyshev coefficients, ordered from  low to high.
docstring_summary: Covert z-series to a Chebyshev series.
docstring_tokens: Covert z - series to a Chebyshev series .
function: def _zseries_to_cseries(zs):
      """Covert z-series to a Chebyshev series.
  
      Covert a z series to the equivalent Chebyshev series. The result is
      never an empty array. The dtype of the return is the same as that of
      the input. No checks are run on the arguments as this routine is for
      internal use.
  
      Parameters
      ----------
      zs : 1-D ndarray
          Odd length symmetric z-series, ordered from  low to high.
  
      Returns
      -------
      c : 1-D ndarray
          Chebyshev coefficients, ordered from  low to high.
  
      """
      n = (zs.size + 1)//2
      c = zs[n-1:].copy()
      c[1:n] *= 2
      return c
function_tokens: def _zseries_to_cseries ( zs ) : n = ( zs . size + 1 ) // 2 c = zs [ n - 1 : ] . copy ( ) c [ 1 : n ] *= 2 return c