Source code for symforce.ops.impl.abstract_vector_lie_group_ops
# ----------------------------------------------------------------------------# SymForce - Copyright 2022, Skydio, Inc.# This source code is under the Apache 2.0 license found in the LICENSE file.# ----------------------------------------------------------------------------from__future__importannotationsfromsymforceimporttypingasTfrom.abstract_vector_group_opsimportAbstractVectorGroupOpsifT.TYPE_CHECKING:fromsymforceimportgeoElementT=T.TypeVar("ElementT")ElementOrTypeT=T.Union[ElementT,T.Type[ElementT]]
[docs]classAbstractVectorLieGroupOps(AbstractVectorGroupOps[ElementT]):""" An abstract base class for LieGroupOps 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 :mod:`.abstract_storage_ops`. """