Expanding two slots of a pure tensor in the standard basis #
A pure tensor ⨂ₜ u over a constant family ν → R is multilinear in its slots, so plugging a
vector into one slot and expanding that vector along the standard basis Pi.single a 1 turns the
tensor into a sum (MultilinearMap.map_update_sum). Doing this at two distinct slots at once is
the bookkeeping recorded here: the pure tensor whose slots i and j carry x and y is the
double sum over the standard basis with coefficients the products x a * y b of the coordinates.
The two slots have to be distinct for the two Function.updates to be independent; that is where
Function.update_comm enters.
This is the shape that a diagonal expansion at two slots of a tensor power — a Brauer cup, say — is read through when one wants its coefficients, so it is stated here rather than in any one consumer.
Main results #
TauCeti.tprod_update_pair_expand: a pure tensor whose slotsiandjcarry arbitrary vectors ofν → Ris the standard-basis expansion of those two slots.
The bilinear expansion at two slots: a pure tensor over the constant family ν → R whose
slots i and j carry arbitrary vectors is the standard-basis expansion of those two slots, with
the product x a * y b of the two coordinates as the coefficient of the (a, b) term.