8000 GitHub - ntapiam/tensor-wl
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ntapiam/tensor-wl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tensor Algebra and Expected Signatures in Mathematica

This repository contains Mathematica packages for working with tensor algebras, free Lie algebras, shuffle products, and expected signatures of stochastic processes.

Packages

Tensor.wl

The Tensor package provides fundamental operations for working with tensor algebras and related structures:

  • CircleTimes: Abstract tensor product with standard algebraic properties
  • w: Word marker for representing words in tensor spaces
  • Conc: Concatenation operator for tensors of words
  • Shuf: Shuffle product between words
  • QShuf: Quasi-shuffle product
  • Dec, DecR: Deconcatenation coproduct (standard and reduced versions)
  • Eulerian: Shuffle Eulerian idempotent
  • Unshuf, UnshufR: Unshuffle coproduct (standard and reduced versions)
  • Proj: Canonical projection onto the free Lie algebra
  • Antipode: Antipode map for the Hopf algebra structure
  • Dynkin: Dynkin idempotent in the tensor algebra
  • c: Contraction operator for words
  • LogES: Log expected signature
  • ESig: Expected signature of Stratonovich Brownian motion
  • ip: Inner product based on Stratonovich expected signature
  • IESig: Expected signature of Itô Brownian motion
  • iip: Inner product based on Itô expected signature
  • HExp, HLog: Hoffman's exponential and logarithm for words
  1. Place the .wl files in a directory where Mathematica can find them
  2. Load the packages using:
<< Tensor`

Usage Examples

Basic Word Operations

(* Create words *)
w[1, 2, 3]
w[4, 5] 

(* Tensor product *)
w[1, 2] ⊗ w[3, 4]

(* Concatenation *)
Conc[w[1, 2] ⊗ w[3, 4]]  (* Produces w[1, 2, 3, 4] *)

(* Shuffle product *)
Shuf[w[1, 2] ⊗ w[3, 4]]

(* Quasi-shuffle product *)
QShuf[w[1, 2] ⊗ w[3, 4]]

Mathematical Background

This code implements fundamental operations from:

  • Tensor algebra and free Lie algebra theory
  • Shuffle algebra and its dual structures
  • Expected signature theory for stochastic processes

The packages are useful for researchers in algebraic combinatorics, Lie theory, rough path theory, and stochastic analysis.

Dependencies

  • Mathematica (tested on version 12.0 or later)

Citation

If using this code in research, please cite appropriately.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0