c = inner(f,g)c = f @ gThe inner product of two words $\mathtt{w}$ and $\mathtt{v}$ in a free associative algebra is defined as $1$ if $\mathtt{w} = \mathtt{v}$ and $0$ otherwise. This extends bilinearly to an inner product on the whole associative algebra.
The inner product can be used to access the coefficient of a tensor over a single word.
|
|
|
|
|
It is also a convenient way to evaluate linear combinations of tensor entries:
|
|
|
The object inner is a method function.
The source of this document is in PathSignatures/documentation.m2:918:0.