Inner

WMA link


Inner[f, x, y, g]

computes a generalised inner product of x and y, using
a multiplication function f and an addition function g.

Inner can be used to compute a dot product:

The inner product of two boolean matrices:

Inner works with tensors of any depth:

Dot
LeviCivitaTensor