symforce.ops.impl.abstract_vector_group_ops module#

class AbstractVectorGroupOps(*args, **kwds)[source]#

Bases: AbstractStorageOps[ElementT]

An abstract base class for GroupOps implementations whose group operation is equivalent to storage representation addition, and whose identity element is the element whose storage representation is the 0 vector.

For a list of abstract methods which child classes must define, see abstract_storage_ops.

classmethod identity(a)[source]#
Parameters:

a (ElementT | Type[ElementT]) –

Return type:

ElementT

classmethod compose(a, b)[source]#
Parameters:
  • a (ElementT) –

  • b (ElementT) –

Return type:

ElementT

classmethod inverse(a)[source]#
Parameters:

a (ElementT) –

Return type:

ElementT