parameters: (x, num, coef, shape, dtype)
return_statement: return dsl.vmuls(dsl.vsub(broad_coef, none_signal), 0.5)
docstring: chebevl
docstring_summary: chebevl
docstring_tokens: chebevl
function: def chebevl(x, num, coef, shape, dtype):
      """chebevl"""
      broad_coef = dsl.broadcast(coef[0], shape, dtype)
      broad_zero = dsl.broadcast(0, shape, dtype)
      none_signal = None
      for i in range(1, num):
          none_signal = broad_zero
          broad_zero = broad_coef
          coef_i = dsl.broadcast(coef[i], shape, dtype)
          broad_coef = dsl.vsub(dsl.vadd(dsl.vmul(x, broad_zero), coef_i), none_signal)
      return dsl.vmuls(dsl.vsub(broad_coef, none_signal), 0.5)
function_tokens: def chebevl ( x , num , coef , shape , dtype ) : broad_coef = dsl . broadcast ( coef [ 0 ] , shape , dtype ) broad_zero = dsl . broadcast ( 0 , shape , dtype ) none_signal = None for i in range ( 1 , num ) : none_signal = broad_zero broad_zero = broad_coef coef_i = dsl . broadcast ( coef [ i ] , shape , dtype ) broad_coef = dsl . vsub ( dsl . vadd ( dsl . vmul ( x , broad_zero ) , coef_i ) , none_signal ) return dsl . vmuls ( dsl . vsub ( broad_coef , none_signal ) , 0.5 )