parameters: (self, x)
return_statement: return theSum
docstring: Evaluate a polynomial at an input point.
  
          Uses Horner's method, first discovered by Persian mathematician
          Sharaf al-Dīn al-Ṭūsī, which evaluates a polynomial by minimizing
          the number of multiplications.
docstring_summary: Evaluate a polynomial at an input point.
docstring_tokens: Evaluate a polynomial at an input point .
function: def evaluate_at(self, x):
          '''Evaluate a polynomial at an input point.
  
          Uses Horner's method, first discovered by Persian mathematician
          Sharaf al-Dīn al-Ṭūsī, which evaluates a polynomial by minimizing
          the number of multiplications.
          '''
          theSum = 0
  
          for c in reversed(self.coefficients):
              theSum = theSum * x + c
  
          return theSum
function_tokens: def evaluate_at ( self , x ) : theSum = 0 for c in reversed ( self . coefficients ) : theSum = theSum * x + c return theSum