parameters: (cs)
return_statement: return prd
docstring: Multiply a polynomial by x.
  
      Multiply the polynomial `cs` by x, where x is the independent
      variable.
  
  
      Parameters
      ----------
      cs : array_like
          1-d array of polynomial coefficients ordered from low to
          high.
  
      Returns
      -------
      out : ndarray
          Array representing the result of the multiplication.
  
      Notes
      -----
      .. versionadded:: 1.5.0
docstring_summary: Multiply a polynomial by x.
docstring_tokens: Multiply a polynomial by x .
function: def polymulx(cs):
      """Multiply a polynomial by x.
  
      Multiply the polynomial `cs` by x, where x is the independent
      variable.
  
  
      Parameters
      ----------
      cs : array_like
          1-d array of polynomial coefficients ordered from low to
          high.
  
      Returns
      -------
      out : ndarray
          Array representing the result of the multiplication.
  
      Notes
      -----
      .. versionadded:: 1.5.0
  
      """
      # cs is a trimmed copy
      [cs] = pu.as_series([cs])
      # The zero series needs special treatment
      if len(cs) == 1 and cs[0] == 0:
          return cs
  
      prd = np.empty(len(cs) + 1, dtype=cs.dtype)
      prd[0] = cs[0]*0
      prd[1:] = cs
      return prd
function_tokens: def polymulx ( cs ) : # cs is a trimmed copy [ cs ] = pu . as_series ( [ cs ] ) # The zero series needs special treatment if len ( cs ) == 1 and cs [ 0 ] == 0 : return cs prd = np . empty ( len ( cs ) + 1 , dtype = cs . dtype ) prd [ 0 ] = cs [ 0 ] * 0 prd [ 1 : ] = cs return prd