This lecture claims that a weighted inner product can have the form [imath]\vec x^T W \vec y[/imath], where [imath]W[/imath] is any positive definite matrix, a generalization of the prior case in which [imath]W[/imath] must be a diagonal matrix. The diagonal [imath]W[/imath] case makes sense to me, but the non-diagonal case seems suspicious. If [imath]W[/imath] can be non-diagonal, then there are cross-terms in the expanded expression, i.e., [imath]w_{11} x_1 y_1 + w_{12} (x_1 y_2 + x_2 y_1) + w_{22} x_2 y_2[/imath]. I'd taken it to be part of the nature of inner products that they only interact input-wise. For example, it's not clear how cross-terms would be represented for an integral inner product, nor does it seem consistent with the definition. I know cross-correlation is sometimes referred to as the sliding inner product, and so I guess too for convolution with minor modification, but I can't find anything relating these concepts to the above positive definite, bilinear form.
Can an inner product actually be weighted to have cross-terms, and if so, is this equivalent to cross-correlation/convolution?
Can an inner product actually be weighted to have cross-terms, and if so, is this equivalent to cross-correlation/convolution?