I know that the dot product of two vectors is the sum of element-wise multiplication. Using pseudo-MATLAB notation:
(x,y) = sum(x.*y).
I'm interested in computing something analogous for three vectors:
(x,y,z) = sum(x.*y.*z).
Is there a mathematical definition or formalism for this ternary operation?
You could call it, for example, ${\bf x}^T Y {\bf z}$ where $Y$ is the diagonal matrix with the entries of ${\bf y}$ on the diagonal. Of course you could apply any permutation to ${\bf x}$, ${\bf y}$, ${\bf z}$.