original_docstring: Compute the inside angle of a right triangle at a with a right angle at b.
docstring: Compute the inside angle of a right triangle at a with a right angle at b.
docstring_tokens: Compute the inside angle of a right triangle at a with a right angle at b .
code: def inside_angle(a, b, c):
      """Compute the inside angle of a right triangle at a with a right angle at b."""
  
      opposite = np.linalg.norm(b - c)
      hypotenuse = np.linalg.norm(a - c)
  
      # Due to floating point errors, this ratio can actually become larger than 1, so we
      # cap it at 1 to avoid a warning
      ratio = min(opposite / hypotenuse, 1.0)
      return np.arcsin(ratio)
code_tokens: def inside_angle ( a , b , c ) : opposite = np . linalg . norm ( b - c ) hypotenuse = np . linalg . norm ( a - c ) ratio = min ( opposite / hypotenuse , 1.0 ) return np . arcsin ( ratio )
short_docstring: Compute the inside angle of a right triangle at a with a right angle at b.
short_docstring_tokens: Compute the inside angle of a right triangle at a with a right angle at b .
comment: """Compute the inside angle of a right triangle at a with a right angle at b."""$SEP$# Due to floating point errors, this ratio can actually become larger than 1, so we$SEP$# cap it at 1 to avoid a warning