parameters: (self)
return_statement: return sophus.squared_norm(self.vec) + self.real**2
docstring: squared norm when considering the quaternion as 4-tuple
docstring_summary: squared norm when considering the quaternion as 4-tuple
docstring_tokens: squared norm when considering the quaternion as 4 - tuple
function: def squared_norm(self):
          """ squared norm when considering the quaternion as 4-tuple """
          return sophus.squared_norm(self.vec) + self.real**2
function_tokens: def squared_norm ( self ) : return sophus . squared_norm ( self . vec ) + self . real ** 2