pysiglib.branched_sig_combine

pysiglib.branched_sig_combine#

branched_sig_combine(bsig1, bsig2, dimension, degree, *, planar=False, n_jobs=1)[source]#

Combines two truncated branched signatures via the Hopf product (the analogue of Chen’s identity for branched rough paths).

Parameters:
  • bsig1 (numpy.ndarray | torch.tensor) – First branched signature.

  • bsig2 (numpy.ndarray | torch.tensor) – Second branched signature.

  • dimension (int) – Dimension of the underlying path.

  • degree (int) – Maximum order (number of nodes).

  • planar (bool) – If True, combine planar MKW branched signatures.

  • n_jobs (int) – Number of parallel threads for batch processing.

Returns:

Combined branched signature, in the same ordering and scalar-term format as the inputs.


Citation#

If you found this library useful in your research, please consider citing the paper:

@article{shmelev2025pysiglib,
  title={pySigLib-Fast Signature-Based Computations on CPU and GPU},
  author={Shmelev, Daniil and Salvi, Cristopher},
  journal={arXiv preprint arXiv:2509.10613},
  year={2025}
}