parameters: (v1, v2)
return_statement: return n1[0] * n2[0] + n1[1] * n2[1] + n1[2] * n2[2]
docstring: Compute the dot product of 3D vectors v1 and v2.
docstring_summary: Compute the dot product of 3D vectors v1 and v2.
docstring_tokens: Compute the dot product of 3D vectors v1 and v2 .
function: def dotProduct(v1, v2):
      """Compute the dot product of 3D vectors v1 and v2."""
      n1 = normalize(v1)
      n2 = normalize(v2)
      return n1[0] * n2[0] + n1[1] * n2[1] + n1[2] * n2[2]
function_tokens: def dotProduct ( v1 , v2 ) : n1 = normalize ( v1 ) n2 = normalize ( v2 ) return n1 [ 0 ] * n2 [ 0 ] + n1 [ 1 ] * n2 [ 1 ] + n1 [ 2 ] * n2 [ 2 ]