symforce.ops.storage_ops module#
- class StorageOps[source]#
Bases:
Ops
API for symbolic data types that can be serialized to and from a vector of scalar quantities.
- static storage_dim(a)[source]#
Size of the element’s storage, aka the number of scalar values it contains.
- static to_storage(a)[source]#
Serialization of the underlying storage into a list. This is NOT a tangent space.
- static from_storage(a, elements)[source]#
Construct from a flat list representation. Opposite of
to_storage()
.
- static symbolic(a, name, **kwargs)[source]#
Construct a symbolic element with the given name prefix.