parameters: (A, B)
return_statement: return rs
docstring: Returns a convolution of the A and B vectors of length
      len(A)-len(B).
docstring_summary: Returns a convolution of the A and B vectors of length
      len(A)-len(B).
docstring_tokens: Returns a convolution of the A and B vectors of length len ( A ) - len ( B ) .
function: def convolution(A, B):
      """
      Returns a convolution of the A and B vectors of length
      len(A)-len(B).
      """
      rs = []
      for i in range(len(B) - 1, len(A)):
          r = 0
          for j, b in enumerate(B):
              r += A[i - j] * b
          rs.append(r)
      return rs
function_tokens: def convolution ( A , B ) : rs = [ ] for i in range ( len ( B ) - 1 , len ( A ) ) : r = 0 for j , b in enumerate ( B ) : r += A [ i - j ] * b rs . append ( r ) return rs