parameters: (a,b)
return_statement: return sum([a[i]*b[i] for i in range(len(a))])
docstring: Dot product.
docstring_summary: Dot product.
docstring_tokens: Dot product .
function: def dot(a,b):
      """Dot product."""
      if len(a)!=len(b):
          raise RuntimeError('Vector dimensions not equal')
      return sum([a[i]*b[i] for i in range(len(a))])
function_tokens: def dot ( a , b ) : if len ( a ) != len ( b ) : raise RuntimeError ( 'Vector dimensions not equal' ) return sum ( [ a [ i ] * b [ i ] for i in range ( len ( a ) ) ] )