parameters: (self)
return_statement: return ret
docstring: Returns the squared magnitude of the vector
  
          Args:
              (None)
          Returns:
              (float) : squared magnitude
docstring_summary: Returns the squared magnitude of the vector
docstring_tokens: Returns the squared magnitude of the vector
function: def mag_squared(self):
          """
          Returns the squared magnitude of the vector
  
          Args:
              (None)
          Returns:
              (float) : squared magnitude
          """
          ret = self.val1 * self.val1 + self.val2 * self.val2
          return ret
function_tokens: def mag_squared ( self ) : ret = self . val1 * self . val1 + self . val2 * self . val2 return ret