I came upon an interesting problem. Suppose you have three vectors $\psi=(a, b)$, $\phi=(c,d)$ such that their components do not commute:
$ac\neq ca$, $bd \neq db$ etc.
(in general the vectors may have more than two components)
How do you perform the inner product ψ.φ
?
$\begingroup$
$\endgroup$
6
Inner[]
withNonCommutativeMultiply[]
... $\endgroup$ – J. M.'s ennui♦ Dec 23 '20 at 11:03Inner
allows the calculation of the inner product of only two vectors. If I need the inner product of 4 or 6? $\endgroup$ – geom Dec 23 '20 at 12:52