I have konwn the derivative of matrix trace to matirx. However, is there a expression representing the derivative of matrix trace to vector.
For instant, matrix $P\in \mathbb{R}^{d\times n}$ and vector $x\in \mathbb{R}^{d}$. $d,n \in \mathbb{R}^{+} $.
$f(x)=trace(PP^Txx^T)$.
Question: What is the answer of $\frac{\partial f(x)}{\partial x}$?
Thanks a lot! : )