Skip to content

AlphabetMap

from tensorsig.offset_coded_signatures.codes import AlphabetMap

An arbitrary offset-dependent map B_r: E -> V.

Unlike OffsetCode, this object may mix channels and therefore does not inherit colored-descent or channel-equivariant guarantees.

Source code in src/tensorsig/offset_coded_signatures/codes.py
def __init__(self, matrix: Tensor) -> None:
    _floating_matrix(matrix, "matrix", 3)
    owned = _owned_matrix(matrix)
    object.__setattr__(self, "_matrix", owned)
    self.__post_init__()

matrix property

matrix: Tensor

Projection matrix; fixed matrices are returned as defensive copies.