I have two symmetric square matrices $A$ and $B$ which are known in advance. Using these, I need to evaluate the following expression for many, many vectors:
$F(v) = \frac{||Av||}{||Av||+||Bv||}$
Because these matrices are symmetric I know that there must be some space in which they are diagonal - i.e. each represents a rotated non-uniform scale that scales orthogonal directions independently. Given this, my intuition is that I should be able to reduce the expression above to a dot product:
$G(v) = v \bullet k$
...where k is a vector of constants precomputed by performing some processing on the values of $F$ produced from using some set of eigenvectors as inputs. So far algebraic manipulation is failing me. Is a reduction to an expression of this form possible? If not, to what degree can the expression be simplified?