Linear Algebra Question



I know that:

\sum_{i,j} A_{i,j} * B_{i,j} = \sum_{i,j} A_{i,j} * B^T_{j,j} =
\sum_{i} (AB^T)_{ii} = trace(AB^T)

In Matlab this is sum(sum(A.*B)) = trace(A*B')

Can anyone tell me if there is a way to reduce the expression:

\sum_{i,j} A_{i,j} * B_{i,j} * C_{i,j}

?

thanks,
Scott

.