Skip to content

logsigdim

from tensorsig.algebra.hall import logsigdim

Dimension of the truncated log-signature in the Hall basis.

Source code in src/tensorsig/algebra/hall_projection.py
def logsigdim(width: int, depth: int) -> int:
    """Dimension of the truncated log-signature in the Hall basis."""

    return len(hall_basis(width, depth))