symforce.ops.impl.array_storage_ops module#

class ArrayStorageOps[source]#

Bases: object

Implements Storage operations for numpy ndarrays.

static storage_dim(a)[source]#
Parameters:

a (ndarray | Type[ndarray]) –

Return type:

int

static to_storage(a)[source]#
Parameters:

a (ndarray) –

Return type:

List[float]

static from_storage(a, elements)[source]#
Parameters:
Return type:

ndarray

static symbolic(a, name, **kwargs)[source]#
Parameters:
Return type:

ndarray