SUNDeltaContract[exp]
substitutes for all SUNDelta
in exp
SUNDeltaContract
, contracts the adjoint indices and resubstitutes SUNDelta
. SUNDeltaContract[i, j]
is the Kronecker-delta for in the adjoint representation with contraction properties. It wraps the head SUNIndex around its arguments.
[SUNIndex[a], SUNIndex[b]]^2
SUNDelta
[%] SUNDeltaContract