Given a Path $X(t):[0,1]\rightarrow \mathbb{R}^d$, its signature is the linear form $\sigma: T((\mathbb{R}^d)^*)\rightarrow \mathbb{R}$ on the tensor algebra of the dual of $\mathbb{R}^d$, whose image on a decomposable tensor $\alpha_1\otimes \dots\otimes \alpha_k$ is the iterated integral $$ \alpha_1\otimes \dots\otimes \alpha_k\overset{\sigma}{\mapsto} \int_0^1\int_0^{t_k}\dots\int_0^{t_2}\partial(\alpha_1 X)\dots \partial (\alpha_k X) d t_1\dots dt_k. $$ This form does not depend on the parametrization of $X$. In this package, we identify $T((\mathbb{R}^d)^*)$ with the free associative algebra over the alphabet $\{\texttt{1},\dots,\texttt{d}\}$ via $\texttt{i} \mapsto e_i^*$ where $e_1^*, \dots, e_d^*$ is the dual of the canonical basis of $\mathbb{R}^d$. See also wordAlgebra.
|
|
|
|
|
In the example above, the word $\texttt{w}$ corresponds to the simple tensor $e_1^*\otimes\dots \otimes e_d^*$. The signature of $X$ on this word can be computed using sig(Path,NCRingElement).
|
|
|
One can also compute the k-th level signature tensor for $k\in \mathbb{N}$ by using sig(Path,ZZ). This returns the tensor as a non-commutative polynomial in symbols Lt_1, ..., Lt_d.
|
|
Note however that neither the symbols nor the ring of this polynomial are made available to the user, in particular they can not be added or multiplied. To obtain the tensor as a NCPolynomial in a given NCRing, use sig(Path,ZZ,NCRing) instead. The following example demonstrates Chen's identity:
|
|
|
|
|
|
The object sig is a method function.
The source of this document is in PathSignatures/documentation.m2:1174:0.