symforce.ops.interfaces.group module¶
- class Group[source]¶
Bases:
StorageInterface for objects that implement the group concept. Because this class is registered using
symforce.ops.impl.class_group_ops.ClassGroupOps(see bottom of this file), any object that inherits fromGroupand that implements the functions defined in this class can be used with the GroupOps concept.Because
Groupis a subclass ofstorage.Storage, objects inheriting fromGroupmust also implement the functions defined inStorage(e.g. storage_dim, to_storage, etc.), and can also be used with StorageOps.- GroupT = ~GroupT¶
- classmethod identity()[source]¶
Identity element such that
compose(a, identity) = a.- Return type:
GroupT
- compose(other)[source]¶
Apply the group operation with other.
- Parameters:
self (GroupT) –
other (GroupT) –
- Return type:
GroupT