Hi,
Suppose $\displaystyle v$ is a n vector and $\displaystyle X$ is a diagonal n x n matrix.

What is the geometric interpretation of $\displaystyle v^T X v$?

If $\displaystyle X$ is the Identity matrix, this simplifies to the Euclidean distance (L2 norm), but what about for an arbitary diagonal matrix X?