I have been attempting to prove the following identity:
$\frac{\partial [W^{\frac{1}{2}} K W^{\frac{1}{2}}]}{\partial \hat{f_i}} = K \frac{\partial W}{\partial \hat{f_i}}$
where $W^{\frac{1}{2}}$ is a diagonal matrix with all-positive elements (the matrix square-root of $W$) which is a function of $\hat{f_i}$, and $K$ is a symmetric positive-definite matrix that is not a function of $\hat{f_i}$.
If it does hold, I would appreciate a proof or a link to a reference. Thanks!