"""
Origami Codec - Structure-Aware Tensor Compression

Exploits C_excess_z (adjacency correlation structure) for compression.

Unlike SVD which captures global low-rank structure, Origami captures
local adjacency patterns:
  - Anchors: Representative rows
  - Deltas: Differences from anchors
  - Motifs: LZ77-style back-references for repeated patterns

Target use: Tensors with high C_excess_z where CDNA falls short.
"""

from .encoder import OrigamiEncoder, encode_tensor_origami
from .decoder import OrigamiDecoder, decode_origami_tensor

__all__ = [
    "OrigamiEncoder",
    "OrigamiDecoder",
    "encode_tensor_origami",
    "decode_origami_tensor",
]
