What is the derivative of $trace(|A|)$ with respect to $A$ ?
where:
$|A|$ represents absulote value of $A$
and $A$ is an $n \times n$ matrix
$\mathbf{Or}$
What is the derivative of $trace(A\ .* \ A)$ with respect to $A$ ?
$A\ .* \ A$ represents elementwise production of $A$