Given a matrix $A$ that is $n \times d$ and a $n$-dimensional vector $w$, define the vector function $f$ as:
$f(v) = \frac{w^TAv}{||Av||^2}$ where $v$ is a $d$-dimensional vector.
How can I find all of the critical points of $f(v)$ most efficiently? It can be either analytically or numerically. I need both the values of $f$ and $v$ that make up the critical point.
Hint: $f= gohoF$ where $g(z)= \langle w , z \rangle$,$\; h(y)=\frac{z}{\|z\|^2}$, and $F(v)=Av$.