Substitutes tensor labels with other labels. This is simply a renaming
procedure. The operation might trigger implicit diagonal subsetting.
An error is thrown if the specified indices do not exist.
Usage
subst(x, ...)
Arguments
x
A labeled tensor object, created by %_% or tensor().
...
Any number of expressions (separated by a comma) of the form
<label1> -> <label2>.
Value
A modified tensor object.
See also
Other tensor operations:
asym(),
kron(),
l(),
r(),
sym()