parameters: (quaternion)
return_statement: return quaternion_conjugate(quaternion) / numpy.dot(quaternion, quaternion)
docstring: Return inverse of quaternion.
  
      >>> q0 = random_quaternion()
      >>> q1 = quaternion_inverse(q0)
      >>> numpy.allclose(quaternion_multiply(q0, q1), [0, 0, 0, 1])
      True
docstring_summary: Return inverse of quaternion.
docstring_tokens: Return inverse of quaternion .
function: def quaternion_inverse(quaternion):
      """Return inverse of quaternion.
  
      >>> q0 = random_quaternion()
      >>> q1 = quaternion_inverse(q0)
      >>> numpy.allclose(quaternion_multiply(q0, q1), [0, 0, 0, 1])
      True
  
      """
      return quaternion_conjugate(quaternion) / numpy.dot(quaternion, quaternion)
function_tokens: def quaternion_inverse ( quaternion ) : return quaternion_conjugate ( quaternion ) / numpy . dot ( quaternion , quaternion )