I'm stuck with the following problem: I have to compute the second derivative (hessian matrix) of the mahalanobis distance $$ [x-\mu]^{T} \Sigma^{-1} [x-\mu] $$ wrt to the Cholesky decomposition of the covariance matrix $$ \Lambda\Lambda^{T}=\Sigma $$ On this paper I've found the solution for the first derivative
$$ {\delta J\over\delta\Lambda} = -2 {\Sigma^{-1}} [x-\mu][x-\mu]^{T}\Sigma^{-1}\Lambda $$
Taking the lower triangle of this matrix gives the vector of the first derivatives (gradient) for the k=n*(n+1)/2 components. I haven't been able to find the k*k matrix of second derivatives.
Any help would be appreciated! Thanks!