Let $K$ be an $n \times m$ matrix with $rank(K)=m$ and consider the pseudoinverse $K^+=(K^TK)^{-1}K^T$. What is the derivative of $K^+$ with respect to some scalar parameter $p$ (Derivative of the inverse of a matrix)?
Note: I figured out the solution but still asking the question (and adding the solution below) in case it's of interest to someone else (not sure about protocol here)